app/assets/javascripts/jquery-ui/effects/effect-blind.js in jquery-ui-rails-6.0.1 vs app/assets/javascripts/jquery-ui/effects/effect-blind.js in jquery-ui-rails-7.0.0

- old
+ new

@@ -1,10 +1,10 @@ //= require jquery-ui/version //= require jquery-ui/effect /*! - * jQuery UI Effects Blind 1.12.1 + * jQuery UI Effects Blind 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license @@ -15,10 +15,12 @@ //>>description: Blinds the element. //>>docs: http://api.jqueryui.com/blind-effect/ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery", @@ -28,11 +30,12 @@ } else { // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "blind", "hide", function( options, done ) { var map = { up: [ "bottom", "top" ], vertical: [ "bottom", "top" ], @@ -68,6 +71,6 @@ easing: options.easing, complete: done } ); } ); -} ) ); +} );