-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
This is not a serious error... but it bind
and unbind
are deprecated.
You won't have a problem if using jqlite, because in AngularJS, JQLite.prototype.bind = JQLite.prototype.on;
and JQLite.prototype.unbind = JQLite.prototype.off;
But if you load JQuery 3.51 and the unminified jquery-migrate.js
you will get logs about usage of deprecated functionality.
Lines 246 to 247 in a957d07
viewport.unbind('resize', resizeAndScrollHandler); viewport.unbind('scroll', resizeAndScrollHandler); Line 230 in a957d07
viewport.bind('mousewheel', wheelHandler); Line 230 in a957d07
viewport.bind('mousewheel', wheelHandler);
The above cases of bind()
and unbind()
should be on()
and off()
respectively.
Metadata
Metadata
Assignees
Labels
No labels