jQuery Migrate 3.0.1 の使い方と警告文の自分なりのまとめ
jQuery Migrate プラグイン 3.x の使い方と警告文を自分なりにまとめました。 記事作成時の jQuery Migrate プラグイン(以下 jQuery Migrate)の バージョンは 3.0.1 です。 jQuery Migrate 1.x と使い方は同じですが 用途や警告文が異なるので注意して下さい。 jQuery Migrate 1.x についてはこちらにまとめました。
- jQuery Migrate plugin について
- 開発版と製品版
- 使い方
- jQuery Migrate plugin のプロパティ
-
警告メッセージの種類
-
JQMIGRATE: Migrate is installed, version X
JQMIGRATE: Migrate is installed with logging active, version X - JQMIGRATE: jQuery 3.0.0+ REQUIRED
- JQMIGRATE: Migrate plugin loaded multiple times
-
JQMIGRATE: Attribute selector with '#' must be quoted
JQMIGRATE: Attribute selector with '#' was not fixed - JQMIGRATE: jQuery is not compatible with Quirks Mode
-
JQMIGRATE: jQXHR.success is deprecated and removed
JQMIGRATE: jQXHR.error is deprecated and removed
JQMIGRATE: jQXHR.complete is deprecated and removed - JQMIGRATE: jQuery.fn.error() is deprecated
-
JQMIGRATE: jQuery.fn.load() is deprecated
JQMIGRATE: jQuery.fn.unload() is deprecated - JQMIGRATE: deferred.pipe() is deprecated
- JQMIGRATE: jQuery.fx.interval is deprecated
- JQMIGRATE: jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()
- JQMIGRATE: jQuery.fn.size() is deprecated and removed; use the .length property
- JQMIGRATE: jQuery.data() always sets/gets camelCased names
- JQMIGRATE: jQuery.fn.removeAttr no longer sets boolean properties
-
JQMIGRATE: jQuery.fn.offset() requires a valid DOM element
JQMIGRATE: jQuery.fn.offset() requires an element connected to a document - JQMIGRATE: jQuery.param() no longer uses jQuery.ajaxSettings.traditional
- JQMIGRATE: jQuery.swap() is undocumented and deprecated
-
JQMIGRATE: jQuery.fn.bind() is deprecated
JQMIGRATE: jQuery.fn.unbind() is deprecated
JQMIGRATE: jQuery.fn.delegate() is deprecated
JQMIGRATE: jQuery.fn.undelegate() is deprecated - JQMIGRATE: 'ready' event is deprecated
- JQMIGRATE: 'jQuery.easing.NAME' should use only one argument
- JQMIGRATE: jQuery.parseJSON is deprecated; use JSON.parse
- JQMIGRATE: jQuery.isNumeric() should not be called on constructed objects
- JQMIGRATE: jQuery.unique is deprecated; use jQuery.uniqueSort
-
JQMIGRATE: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos
JQMIGRATE: jQuery.expr.filters is deprecated; use jQuery.expr.pseudos - JQMIGRATE: jQuery.fn.toggleClass( [ boolean ] ) is deprecated
-
JQMIGRATE: jQuery.event.props are deprecated and removed
JQMIGRATE: jQuery.event.props.concat() is deprecated and removed
JQMIGRATE: jQuery.event.fixHooks are deprecated and removed - JQMIGRATE: jQuery(window).on('load'...) called after load event occurred
- JQMIGRATE: jQuery.holdReady() is deprecated
- JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
- JQMIGRATE: jQuery.fn.hover() is deprecated
-
JQMIGRATE: Migrate is installed, version X