Skip to content

Commit 8e82bf5

Browse files
committed
refactor(jqLite): deprecate jqLite#ready
Use jqLite(fn) instead of jqLite(document).ready(fn).
1 parent 369fb7f commit 8e82bf5

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
@@ -76,7 +76,7 @@
7676
* - [`parent()`](http://api.jquery.com/parent/) - Does not support selectors
7777
* - [`prepend()`](http://api.jquery.com/prepend/)
7878
* - [`prop()`](http://api.jquery.com/prop/)
79-
* - [`ready()`](http://api.jquery.com/ready/)
79+
* - [`ready()`](http://api.jquery.com/ready/) (_deprecated_, use `angular.element(callback)` instead of `angular.element(document).ready(callback)`)
8080
* - [`remove()`](http://api.jquery.com/remove/)
8181
* - [`removeAttr()`](http://api.jquery.com/removeAttr/) - Does not support multiple attributes
8282
* - [`removeClass()`](http://api.jquery.com/removeClass/) - Does not support a function as first argument

0 commit comments

Comments
 (0)