Lỗi jqmigrate migrate is installed version 1.4.1 năm 2024
NOTE: This page lists the messages for jQuery Migrate 3.0. If you are using an earlier version, see the documentation on the 1.x-stable branch. Show
To allow developers to identify and fix compatibility issues when migrating older jQuery code, the development (uncompressed) version of the plugin generates console warning messages whenever any of its functionality is called. The messages only appear once on the console for each unique message. In most cases these messages are simply warnings; code should continue to work properly with later versions of jQuery as long as the jQuery Migrate plugin is used, but we recommend changing the code where possible to eliminate warnings so that the plugin does not need to be used. The production (compressed) version of the plugin does not generate warnings. To continue using jQuery code that has compatibility issues without making any changes and without console messages, simply include the production version in the file rather than the development version. See the README for download instructions. All messages generated by this plugin start with the text "JQMIGRATE" for easy identification. The warning messages, causes, and remediation instructions are listed below. Items listed as deprecated and removed must be changed before the code will work properly without the Migrate plugin. Items listed as only deprecated are still supported by the current version but no longer considered a good practice, and may be removed in the future. JQMIGRATE: Migrate is installed, version XJQMIGRATE: Migrate is installed with logging active, version XThis is not a warning, but a console log message the plugin shows when it first loads to indicate whether warnings will be shown on the console when appropriate. As of version 1.4.0 this message is also shown with production builds. The use jQuery Migrate in production has performance impacts and can complicate debugging as it modifies the normal behavior of the version of jQuery being used. JQMIGRATE: jQuery 3.0.0+ REQUIREDCause: The page does not have a version of jQuery installed, or is using a version of jQuery older than 3.0.0. The jQuery Migrate plugin is not intended to be used for those cases. Any messages that follow this one may not be accurate, or the page may not run properly at all. Solution: See the for more information on usage and upgrading from older versions. JQMIGRATE: Migrate plugin loaded multiple timesCause: The plugin detected that some version of jQuery Migrate is already loaded. Loading multiple versions can cause unpredictable behavior. Solution: Remove all but the latest version of the jQuery Migrate plugin. See the for more information on usage and upgrading from older versions. [selector-empty-id] JQMIGRATE: jQuery( '#' ) is not a valid selectorCause: Selectors consisting of just Solution: Don't call [selector-hash] JQMIGRATE: Attribute selector with '#' must be quoted[selector-hash] JQMIGRATE: Attribute selector with '#' was not fixedCause: Selectors such as `a[href= main]` are not valid CSS syntax because the value contains special characters that are not quoted. Until jQuery 1.11.3/2.1.4 this was accepted, but the behavior is non-standard and was never documented. In later versions this selector throws an error. In some cases with complex selectors, Migrate may not attempt a repair. In those cases a fatal error will be logged on the console and you will need to fix the selector manually.Solution: Put quotes around any attribute values that have special characters, e.g. `a[href=" main"]`. The warning message contains the selector that caused the problem, use that to find the selector in the source files.[quirks] JQMIGRATE: jQuery is not compatible with Quirks ModeCause: A browser runs in "quirks mode" when the HTML document does not have a Solution: Put a valid doctype in the document and ensure that the document is rendering in standards mode. The simplest valid doctype is the HTML5 one, which we highly recommend: jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 0 . The jQuery Migrate plugin does not attempt to fix issues related to quirks mode. [jqXHR-methods] JQMIGRATE: jQXHR.success is deprecated and removed[jqXHR-methods] JQMIGRATE: jQXHR.error is deprecated and removed[jqXHR-methods] JQMIGRATE: jQXHR.complete is deprecated and removedCause: The jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 1, jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 2, and jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 3 methods of the jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 4 object returned from jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 5 have been deprecated since jQuery 1.8 and were removed in jQuery 3.0. Solution: Replace the use of these methods with the standard Deferred methods: jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 1 becomes jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 7, jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 2 becomes jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 9, and jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 3 becomes `#`1. [shorthand-removed-v3] JQMIGRATE: jQuery.fn.error() is deprecatedCause: The Solution: Change any use of [shorthand-removed-v3] JQMIGRATE: jQuery.fn.load( [ eventData ], handler ) is deprecated and removed[shorthand-removed-v3] JQMIGRATE: jQuery.fn.unload() is deprecated and removedCause: The Solution: Change any use of `jQuery( '#' )`3 to `jQuery( '#' )`4 and `jQuery( '#' )`5 to `jQuery( '#' )`6. [deferred-pipe] JQMIGRATE: deferred.pipe() is deprecatedCause: The `jQuery( '#' )`7 method on a `jQuery( '#' )`8 object was deprecated as of jQuery 1.8, when the `jQuery( '#' )`9 method was changed to perform the same function. Solution: In most cases it is sufficient to change all occurrences of `jQuery( '#' )`7 to `jQuery( '#' )`9. Ensure that you aren't relying on context/state propagation (e.g., using `jQuery`2) or synchronous callback invocation, which were dropped from `jQuery( '#' )`9 for Promises/A+ interoperability as of jQuery 3.0. [fx-interval] JQMIGRATE: jQuery.fx.interval is deprecatedCause: As of jQuery 3.0 the `jQuery`4 property can be used to change the animation interval only on browsers that do not support the `jQuery`5 method. That is currently only Internet Explorer 9 and the Android Browser. Once support is dropped for these browsers, the property will serve no purpose and it will be removed. Solution: Find and remove code that changes or uses `jQuery`4. If the value is being used by code in your page or a plugin, the code may be making assumptions that are no longer valid. The default value of `jQuery`4 is `jQuery`8 (milliseconds), which could be used instead of accessing this property. [andSelf] JQMIGRATE: jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()Cause: The Solution: Replace any use of [size] JQMIGRATE: jQuery.fn.size() is deprecated and removed; use the .length propertyCause: The Solution: Replace any use of [data-camelCase] JQMIGRATE: jQuery.data() always sets/gets camelCased namesCause: The page is attempting to set or get a jQuery data item using kebab case, e.g. Solution: Either 1) Always use the `"#"`2 API to set or get data items, 2) Always use camelCase names when also setting properties directly on jQuery's data object, or 3) Always set properties directly on the data object without using the API call to set or get data by name. Never mix direct access to the data object and API calls with kebab case names. [removeAttr-bool] JQMIGRATE: jQuery.fn.removeAttr no longer sets boolean propertiesCause: Prior to jQuery 3.0, using Solution: It is almost always a mistake to use `"#"`9 on a DOM element. The only time it might be useful is if the DOM is later going to be serialized back to an HTML string. In all other cases, `a[href= main]`0 should be used instead.[offset-valid-elem] JQMIGRATE: jQuery.fn.offset() requires a valid DOM elementCause: In earlier versions of jQuery, the `a[href= main]`1 method would return a value of `a[href=main]`2 for some cases of invalid input. jQuery 3.0 throws errors in some of these cases. The selected element in the jQuery collection must be a DOM element that has a `a[href=main]`3 method. Text nodes, the `jQuery( '#' )`2 object, and plain JavaScript objects are not valid input to the `a[href=main]`1 method. jQuery may throw an error in those cases but in general does not guarantee specific results with invalid inputs.Solution: Do not attempt to get or set the offset information of invalid input. [param-ajax-traditional] JQMIGRATE: jQuery.param() no longer uses jQuery.ajaxSettings.traditionalCause: As of jQuery 3.0, the serialization method `a[href= main]`6 is fully independent of jQuery's ajax module. As a result, it does not look at the `a[href=main]`7 flag that affects how form data is encoded. Note that thejQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 5 method still honors this flag if you make a request through it. Solution: To continue using the `a[href= main]`9 flag, pass it explicitly: `a[href="main"]`0.[swap] JQMIGRATE: jQuery.swap() is undocumented and deprecatedCause: The `a[href=" main"]`1 method temporarily exchanges a set of CSS properties. It was never documented as part of jQuery's public API and should not be used because it can cause performance problems due to forced layout. This method has been removed in jQuery 3.0.Solution: Rework the code to avoid calling `a[href=" main"]`1, or explicitly set and restore the properties you need to change.[pre-on-methods] JQMIGRATE: jQuery.fn.bind() is deprecated[pre-on-methods] JQMIGRATE: jQuery.fn.unbind() is deprecated[pre-on-methods] JQMIGRATE: jQuery.fn.delegate() is deprecated[pre-on-methods] JQMIGRATE: jQuery.fn.undelegate() is deprecatedCause:: These event binding methods have been deprecated in favor of the `a[href=" main"]`3 and `a[href="main"]`4 methods which can handle both delegated and direct event binding. Although the older methods are still present in jQuery 3.0, they may be removed as early as the next major-version update.Solution: Change the method call to use `a[href=" main"]`3 or `a[href="main"]`4, the documentation for the old methods include specific instructions. In general, the `a[href="main"]`7 and `a[href="main"]`8 methods can be renamed directly to `a[href="main"]`3 and `a[href="main"]`4 respectively since the argument orders are identical.[ready-event] JQMIGRATE: 'ready' event is deprecatedCause: Using one of jQuery's API methods to bind a "ready" event, e.g. Solution: Replace any use of [easing-one-arg] JQMIGRATE: 'jQuery.easing.NAME' should use only one argumentCause: Additional arguments for Solution: Rewrite the easing function to only use one argument. If you are using the jQuery Easing plugin, upgrade to version 1.4.0 or higher. For example, to implement Cubic easing, the old function might be: jQuery.easing.easeInCubic = function ( p, t, b, c, d ) { return c ( t /= d ) t * t + b; } You can achive same effect with this: jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } See jQuery-ui for other possible cases. [parseJSON] JQMIGRATE: jQuery.parseJSON is deprecated; use JSON.parseCause: The Solution: Replace any use of [isNumeric] JQMIGRATE: jQuery.isNumeric() is deprecatedCause: This method was used by jQuery to determine if certain string arguments could be converted to numbers, but the name led people to apply their own interpretations to what the method means. As a result, it often doesn't meet the needs of specific cases. For example, a 25-character string of only digits is technically a valid number, but JavaScript cannot represent it accurately. The string jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 02 is a valid hexadecimal number but may not be acceptable numeric input to a web form. Solution: Use a test for being numeric that makes sense for the specific situation. For example, instead of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 03, use jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 04 if a floating point number is expected, or jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 05 if a sequence of 1 to 8 digits is expected. [type] JQMIGRATE: jQuery.type() is deprecatedCause: This method returns a string that indicates the type of the argument, for example jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 06 or jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 07. However, as the JavaScript language evolves this method has become problematic because new language constructs might require this function to either return a new string (potentially breaking existing code) or somehow map new constructs into existing strings (again, potentially breaking existing code). Examples of new recent JavaScript features include asynchronous functions, class constructors, jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 08s, or functions that act as iterators. Solution: Review code that uses jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 09 and use a type check that is appropriate for the situation. For example. if the code expects a plain function, check for jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 10. [unique] JQMIGRATE: jQuery.unique is deprecated; use jQuery.uniqueSortCause: The fact that jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 11 sorted its results in DOM order was surprising to many who did not read the documentation carefully. As of jQuery 3.0 this function is being renamed to make it clear. Solution: Replace all uses of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 11 with jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 13 which is the same function with a better name. [expr-pre-pseudos] JQMIGRATE: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos[expr-pre-pseudos] JQMIGRATE: jQuery.expr.filters is deprecated; use jQuery.expr.pseudosCause: The standard way to add new custom selectors through jQuery is jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 14. These two other aliases are deprecated, although they still work as of jQuery 3.0. Solution: Rename any of the older usage to jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 14. The functionality is identical. [toggleClass-bool] JQMIGRATE: jQuery.fn.toggleClass( [ boolean ] ) is deprecatedCause: Calling jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 16 with no arguments, or with a single Boolean jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 17 or `"#"`8 argument, has been deprecated. Its behavior was poorly documented, but essentially the method saved away the current jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 19 value in a data item when the class was removed and restored the saved value when it was toggled back. If you do not believe you are specificially trying to use this form of the method, it is possible you are accidentally doing so via an inadvertent undefined value, as jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 20 toggles all classes. Solution: If this functionality is still needed, save the current full jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 21 value in a data item and restore it when required. [event-old-patch] JQMIGRATE: jQuery.event.props are deprecated and removed[event-old-patch] JQMIGRATE: jQuery.event.props.concat() is deprecated and removed[event-old-patch] JQMIGRATE: jQuery.event.fixHooks are deprecated and removedCause: The code on the page has used the jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 22 or jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 23 data structures. These were used in previous versions to affect the properties that are copied from the native event to the jQuery event each time an event is delivered, but they had the potential to create performance issues. Versions of jQuery Mobile before 1.5 make use of this API and require jQuery Migrate to run properly. Solution: The most popular use of these data structures are to add properties for touch or pointer events, and those properties are now supported by default with a newer high-performance approach in jQuery 3.0 that only retrieves the properties on first access. If you are using jQuery Mobile, check the jquerymobile.com site for updates. If you are using plugins such as pointerTouch or touchHooks, simply remove them as they are no longer needed. [load-after-event] JQMIGRATE: jQuery(window).on('load'...) called after load event occurredCause: The calling code has attempted to attach a jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 24 event to `jQuery( '#' )`2 after the page has already loaded. That means the handler will never run and so is probably not what the caller intended. This can occur when the event attachment is made too late, for example, in a jQuery ready handler. It can also occur when a file is loaded dynamically with jQuery after the page has loaded, for example using the jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 26 method. Solution: If a function jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 27 does not actually depend on all page assets being fully loaded, switch to a ready handler ``4 which runs earlier and will aways run jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 27 even if the script that contains the code loads long after the page has fully loaded. If jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 27 actually does depend on the script being fully loaded, check jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 31. If the value is jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 32 run the function immediately, otherwise use jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 33. [holdReady] JQMIGRATE: jQuery.holdReady() is deprecatedCause: The jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 34 method has been deprecated due to its detrimental effect on the global performance of the page. This method can prevent all the code on the page from initializing for extended lengths of time. Solution: Rewrite the page so that it does not require all jQuery ready handlers to be delayed. This might be accomplished, for example, by late-loading only the code that requires the delay when it is safe to run. Due to the complexity of this method, jQuery Migrate does not attempt to fill the functionality. If the underlying version of jQuery used with jQuery Migrate no longer contains jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 34 the code will fail shortly after this warning appears. [isFunction] JQMIGRATE: jQuery.isFunction() is deprecatedCause: This method returns jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 17 if its argument is thought to be a function. It was created to work around bugs in jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 37 implementations in legacy browsers. Solution: Replace any use of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 38 with jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 39. [isWindow] JQMIGRATE: jQuery.isWindow() is deprecatedCause: This method returns jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 17 if its argument is thought to be a `jQuery( '#' )`2 element. It was created for internal use and is not a reliable way of detecting `jQuery( '#' )`2 for public needs. Solution: Remove any use of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 43 from code. If it is truly needed it can be replaced with a check for jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 44 which was the test used inside this method. [shorthand-deprecated-v3] JQMIGRATE: jQuery.fn.click() event shorthand is deprecatedCause: The `a[href=" main"]`3 andjQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 46 methods can set an event handler or generate an event for any event type, and should be used instead of the shortcut methods. This message also applies to the other event shorthands, including: blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, and contextmenu. Solution: Instead of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 47 use jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 48. Instead of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 49 use jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 50. [pre-on-methods] JQMIGRATE: jQuery.fn.hover() is deprecatedCause: The jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 51 method is a shorthand for the use of the jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 52/ jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 53 events. It is often a poor user interface choice because it does not allow for any small amounts of delay between when the mouse enters or exits an area and when the event fires. This can make it quite difficult to use with UI widgets such as drop-down menus. For more information on the problems of hovering, see the hoverIntent plugin. Solution: Review uses of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 51 to determine if they are appropriate, and consider use of plugins such as jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 55 as an alternative. The direct replacement for jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 56, is jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 57. [nodeName] JQMIGRATE: jQuery.nodeName() is deprecatedCause: This public but never-documented method has been deprecated as of jQuery 3.2.0. Solution: Replace calls such as jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 58 with a test such as jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 59. [cssProps] JQMIGRATE: jQuery.cssProps is deprecatedCause: The jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 60 property is a public but undocumented object that allows CSS properties with one name to be mapped into another name. It was used for legacy browsers like IE8 that used non-standard names. This object is no longer used inside jQuery since all supported browsers now use the standard CSS property names. Solution: Remove any uses of jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 60 in application code. [isArray] JQMIGRATE: jQuery.isArray is deprecated; use Array.isArrayCause: Older versions of JavaScript made it difficult to determine if a particular object was a true Array, so jQuery provided a cross-browser function to do the work. The browsers supported by jQuery 3.0 all provide a standard method for this purpose. Solution: Replace any calls to jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 62 with jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 63. [trim] JQMIGRATE: jQuery.trim is deprecated; use String.prototype.trimCause: Older versions of IE & Android Browser didn't implement a method to jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 64 strings so jQuery provided a cross-browser implementation. The browsers supported by jQuery 3.0 all provide a standard method for this purpose. Solution: Replace any calls to jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 65 with jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 66 if you know jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 67 is a string; otherwise, you can replace it with jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 68. [css-number] JQMIGRATE: Number-typed values are deprecated for jQuery.fn.css( (property name), value )Cause: In past versions, when a number-typed value was passed to jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 69 jQuery converted it to a string and added jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 70 to the end. As the CSS standard has evolved, an increasingly large set of CSS properties now accept values that are unitless numbers, where this behavior is incorrect. It has become impractical to manage these exceptions in the jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 71 object. In addition, some CSS properties like jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 72 can accept both a bare number jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 73 or a pixel value jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 74. jQuery cannot know the correct way to interpret jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 75 and currently treats it as jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 76. Solution: Always pass string values to jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 69, and explicitly add units where required. For example, use jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 78 to specify 200% of the current line height or jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 79 to specify pixels. When the numeric value is in a variable, ensure the value is converted to string, e.g. jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 80 and jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 81. [self-closed-tags] JQMIGRATE: HTML tags must be properly nested and closed: (HTML string)Cause: jQuery 3.5.0 changed the way it processes HTML strings. Previously, jQuery would attempt to fix self-closed tags like jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 82 that the HTML5 specification says are not self-closed, turning it into jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 83. This processing can create a security problem with malicious strings, so the functionality had to be removed. Solution: Search for the reported HTML strings and edit the tags to close them explicitly. In some cases the strings passed to jQuery may be created inside the program and thus not searchable. Migrate warning messages include a stack trace that can be used to find the location of the usage in the code. [jsonp-promotion] JQMIGRATE: JSON-to-JSONP auto-promotion is deprecatedCause: jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 84 calls with jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 85 with a provided callback are automatically converted by jQuery to JSONP requests unless the options also specify jQuery.easing.easeInCubic = function ( p ) { return Math.pow( p, 3 ); } 86. Auto-promoting JSON requests to JSONP introduces a security risk as the developer may be unaware they're not just downloading data but executing code from a remote domain. This auto-promoting behavior is deprecated and will be removed in jQuery 4.0.0. |