mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Ability to use CDN for core-defined libraries. Ability to select CDN provider.
This commit is contained in:
8
e107_web/lib/jquery-once/jquery.once.min.js
vendored
Normal file
8
e107_web/lib/jquery-once/jquery.once.min.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* jQuery Once v2.1.2 - 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
|
Reference in New Issue
Block a user