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

Commit ffd64c2

Browse files
committed
refactor(jqLite): deprecate bind/unbind
The on/off aliases have been available since Angular 1.2. bind/unbind have been deprecated in jQuery 3.0 so we're following suit in jqLite.
1 parent 408e509 commit ffd64c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jqLite.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* - [`after()`](http://api.jquery.com/after/)
5757
* - [`append()`](http://api.jquery.com/append/)
5858
* - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters
59-
* - [`bind()`](http://api.jquery.com/bind/) - Does not support namespaces, selectors or eventData
59+
* - (_deprecated_, use `on()`) [`bind()`](http://api.jquery.com/bind/) - Does not support namespaces, selectors or eventData
6060
* - [`children()`](http://api.jquery.com/children/) - Does not support selectors
6161
* - [`clone()`](http://api.jquery.com/clone/)
6262
* - [`contents()`](http://api.jquery.com/contents/)
@@ -85,7 +85,7 @@
8585
* - [`text()`](http://api.jquery.com/text/)
8686
* - [`toggleClass()`](http://api.jquery.com/toggleClass/) - Does not support a function as first argument
8787
* - [`triggerHandler()`](http://api.jquery.com/triggerHandler/) - Passes a dummy event object to handlers
88-
* - [`unbind()`](http://api.jquery.com/unbind/) - Does not support namespaces or event object as parameter
88+
* - (_deprecated_, use `off()`) [`unbind()`](http://api.jquery.com/unbind/) - Does not support namespaces or event object as parameter
8989
* - [`val()`](http://api.jquery.com/val/)
9090
* - [`wrap()`](http://api.jquery.com/wrap/)
9191
*

0 commit comments

Comments
 (0)