Changes for core/assets/vendor/jquery-once/jquery.once.min.js: 2 added lines, 2 removed lines.
Original line number
Diff line number
Diff line
/*!
* jQuery Once v2.1.1 - http://github.com/robloach/jquery-once
* jQuery Once v2.2.0 - http://github.com/robloach/jquery-once
* @license MIT, GPL-2.0
* http://opensource.org/licenses/MIT
* http://opensource.org/licenses/GPL-2.0
*/
(function(e){"use strict";if(typeofexports==="object"){e(require("jquery"))}elseif(typeofdefine==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){"use strict";varn=function(e){e=e||"once";if(typeofe!=="string"){thrownewError("The jQuery Once id parameter must be a string")}returne};e.fn.once=function(t){varr="jquery-once-"+n(t);returnthis.filter(function(){returne(this).data(r)!==true}).data(r,true)};e.fn.removeOnce=function(e){returnthis.findOnce(e).removeData("jquery-once-"+n(e))};e.fn.findOnce=function(t){varr="jquery-once-"+n(t);returnthis.filter(function(){returne(this).data(r)===true})}});
(function(e){"use strict";if(typeofexports==="object"){e(require("jquery"))}elseif(typeofdefine==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){"use strict";varn=function(e){e=e||"once";if(typeofe!=="string"){thrownewTypeError("The jQuery Once id parameter must be a string")}returne};e.fn.once=function(t){varr="jquery-once-"+n(t);returnthis.filter(function(){returne(this).data(r)!==true}).data(r,true)};e.fn.removeOnce=function(e){returnthis.findOnce(e).removeData("jquery-once-"+n(e))};e.fn.findOnce=function(t){varr="jquery-once-"+n(t);returnthis.filter(function(){returne(this).data(r)===true})}});