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

Commit b6f4d4b

Browse files
cwclarkIgorMinar
authored andcommitted
Added caveat to attr() function of jqLite
attr() does not support functions as parameters.
1 parent 20685ff commit b6f4d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jqLite.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* - [`addClass()`](http://api.jquery.com/addClass/)
4040
* - [`after()`](http://api.jquery.com/after/)
4141
* - [`append()`](http://api.jquery.com/append/)
42-
* - [`attr()`](http://api.jquery.com/attr/)
42+
* - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters
4343
* - [`bind()`](http://api.jquery.com/bind/) - Does not support namespaces, selectors or eventData
4444
* - [`children()`](http://api.jquery.com/children/) - Does not support selectors
4545
* - [`clone()`](http://api.jquery.com/clone/)

0 commit comments

Comments
 (0)