diff --git a/core/assets/vendor/jquery-once/jquery.once.js b/core/assets/vendor/jquery-once/jquery.once.js old mode 100644 new mode 100755 diff --git a/core/assets/vendor/jquery-once/jquery.once.min.js b/core/assets/vendor/jquery-once/jquery.once.min.js new file mode 100755 index 0000000000000000000000000000000000000000..c9df0fcf05161076f8f4465112f35832532941ac --- /dev/null +++ b/core/assets/vendor/jquery-once/jquery.once.min.js @@ -0,0 +1,8 @@ +/*! + * jQuery Once v2.0.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(typeof exports==="object"){e(require("jquery"))}else if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){"use strict";var n=function(e){e=e||"once";if(typeof e!=="string"){throw new Error("The jQuery Once id parameter must be a string")}return e};e.fn.once=function(t){var r="jquery-once-"+n(t);return this.filter(function(){return e(this).data(r)!==true}).data(r,true)};e.fn.removeOnce=function(e){return this.findOnce(e).removeData("jquery-once-"+n(e))};e.fn.findOnce=function(t){var r="jquery-once-"+n(t);return this.filter(function(){return e(this).data(r)===true})}}); +//# sourceMappingURL=jquery.once.min.js.map \ No newline at end of file diff --git a/core/assets/vendor/jquery-once/jquery.once.min.js.map b/core/assets/vendor/jquery-once/jquery.once.min.js.map new file mode 100755 index 0000000000000000000000000000000000000000..c04060d600c5c283bcbb5d0c7e616a82564d26f2 --- /dev/null +++ b/core/assets/vendor/jquery-once/jquery.once.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"jquery.once.min.js","sources":["jquery.once.js"],"names":["factory","exports","require","define","amd","jQuery","$","checkId","id","Error","fn","once","name","this","filter","data","removeOnce","findOnce","removeData"],"mappings":";;;;;;CAgBC,SAAUA,GACT,YACA,UAAWC,WAAY,SAAU,CAE/BD,EAAQE,QAAQ,eACX,UAAWC,UAAW,YAAcA,OAAOC,IAAK,CAErDD,QAAQ,UAAWH,OACd,CAELA,EAAQK,WAEV,SAAUC,GACV,YAaA,IAAIC,GAAU,SAASC,GACrBA,EAAKA,GAAM,MACX,UAAWA,KAAO,SAAU,CAC1B,KAAM,IAAIC,OAAM,iDAElB,MAAOD,GAyCTF,GAAEI,GAAGC,KAAO,SAAUH,GAEpB,GAAII,GAAO,eAAiBL,EAAQC,EAGpC,OAAOK,MAAKC,OAAO,WACjB,MAAOR,GAAEO,MAAME,KAAKH,KAAU,OAC7BG,KAAKH,EAAM,MAiChBN,GAAEI,GAAGM,WAAa,SAAUR,GAE1B,MAAOK,MAAKI,SAAST,GAAIU,WAAW,eAAiBX,EAAQC,IAkC/DF,GAAEI,GAAGO,SAAW,SAAUT,GAExB,GAAII,GAAO,eAAiBL,EAAQC,EAEpC,OAAOK,MAAKC,OAAO,WACjB,MAAOR,GAAEO,MAAME,KAAKH,KAAU"} \ No newline at end of file diff --git a/core/core.libraries.yml b/core/core.libraries.yml index 259f1a5fef8ff0fefecd4204053365aa327d1cc1..d14e978e9734d28d693642dfc7141c14ca74e829 100644 --- a/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -397,7 +397,7 @@ jquery.once: url: https://github.com/RobLoach/jquery-once/blob/master/LICENSE.md gpl-compatible: true js: - assets/vendor/jquery-once/jquery.once.js: { weight: -19 } + assets/vendor/jquery-once/jquery.once.min.js: { weight: -19, minified: true } dependencies: - core/jquery