Skip to content

Commit cd3673e

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

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
@@ -51,7 +51,7 @@
5151
* ## Angular's jqLite
5252
* jqLite provides only the following jQuery methods:
5353
*
54-
* - [`addClass()`](http://api.jquery.com/addClass/)
54+
* - [`addClass()`](http://api.jquery.com/addClass/) - Does not support a function as first argument
5555
* - [`after()`](http://api.jquery.com/after/)
5656
* - [`append()`](http://api.jquery.com/append/)
5757
* - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters
@@ -78,7 +78,7 @@
7878
* - [`ready()`](http://api.jquery.com/ready/)
7979
* - [`remove()`](http://api.jquery.com/remove/)
8080
* - [`removeAttr()`](http://api.jquery.com/removeAttr/)
81-
* - [`removeClass()`](http://api.jquery.com/removeClass/)
81+
* - [`removeClass()`](http://api.jquery.com/removeClass/) - Does not support a function as first argument
8282
* - [`removeData()`](http://api.jquery.com/removeData/)
8383
* - [`replaceWith()`](http://api.jquery.com/replaceWith/)
8484
* - [`text()`](http://api.jquery.com/text/)

0 commit comments

Comments
 (0)