i use jquery 1.9.1 , jquery ui 1.9.2 in website, we're walking through jquery migrate 1.1.1 warnings in chrome's console log , fix whatever can.
first, saw warning in chrome:
jqmigrate: jquery.fn.andself() replaced jquery.fn.addback() jquery-migrate-1.1.1.js:40 console.trace() jquery-migrate-1.1.1.js:42 migratewarn jquery-migrate-1.1.1.js:42 jquery.fn.andself jquery-migrate-1.1.1.js:321 $.widget._gethandle jquery-ui-1.9.2.js:1273 (anonymous function) jquery-ui-1.9.2.js:432 $.widget._mousecapture jquery-ui-1.9.2.js:1086 (anonymous function) jquery-ui-1.9.2.js:432 $.widget._mousedown jquery-ui-1.9.2.js:929 (anonymous function) jquery-ui-1.9.2.js:432 (anonymous function) jquery-ui-1.9.2.js:891 jquery.event.dispatch jquery-1.9.1.js:3074 elemdata.handle jquery-1.9.1.js:2750
and after looked jquery-1.9.1.js @ line 5678 (nice number :)), saw this:
jquery.fn.andself = jquery.fn.addback;
so still work without jquery-migrate-1.1.1.js in production server (others $.browser make runtime error).
i looked jquery-ui-1.10.2.js , saw _gethandle refactored , no longer use andself.
my question is, how know jquery-migrate warning must fixed , safe use (and fix later)? "is deprecated" enough?
thanks,
according release history jquery ui wiki, jquery ui version 1.9.2 compatible jquery version 1.6+.
Comments
Post a Comment