Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f176a2d

Browse files
committed
docs(angular.element): note restrictions of addClass and removeClass
Closes #12851 Closes #12793
1 parent 3a366bd commit f176a2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jqLite.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* ## Angular's jqLite
5454
* jqLite provides only the following jQuery methods:
5555
*
56-
* - [`addClass()`](http://api.jquery.com/addClass/)
56+
* - [`addClass()`](http://api.jquery.com/addClass/) - Does not support a function as first argument
5757
* - [`after()`](http://api.jquery.com/after/)
5858
* - [`append()`](http://api.jquery.com/append/)
5959
* - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters
@@ -80,7 +80,7 @@
8080
* - [`ready()`](http://api.jquery.com/ready/)
8181
* - [`remove()`](http://api.jquery.com/remove/)
8282
* - [`removeAttr()`](http://api.jquery.com/removeAttr/)
83-
* - [`removeClass()`](http://api.jquery.com/removeClass/)
83+
* - [`removeClass()`](http://api.jquery.com/removeClass/) - Does not support a function as first argument
8484
* - [`removeData()`](http://api.jquery.com/removeData/)
8585
* - [`replaceWith()`](http://api.jquery.com/replaceWith/)
8686
* - [`text()`](http://api.jquery.com/text/)

0 commit comments

Comments
 (0)