summaryrefslogtreecommitdiffstats
path: root/jquery.once.min.js
diff options
context:
space:
mode:
authorRob Loach <robloach@gmail.com>2014-12-19 00:52:28 -0500
committerRob Loach <robloach@gmail.com>2014-12-19 00:52:28 -0500
commit23dc820de091b31f1e58d752a46c364409b3511f (patch)
tree1576ffc18781492104582587cf32ba746cd9a19d /jquery.once.min.js
parent8177ff4cfce95d85158911006ba8e91a8468f6ae (diff)
downloadjquery-once-23dc820de091b31f1e58d752a46c364409b3511f.zip
jquery-once-23dc820de091b31f1e58d752a46c364409b3511f.tar.gz
jquery-once-23dc820de091b31f1e58d752a46c364409b3511f.tar.bz2
Update to jQuery Once 2.0.0-beta.12.0.0-beta.1
Diffstat (limited to 'jquery.once.min.js')
-rw-r--r--jquery.once.min.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/jquery.once.min.js b/jquery.once.min.js
index 06c9519..f06db18 100644
--- a/jquery.once.min.js
+++ b/jquery.once.min.js
@@ -1,4 +1,8 @@
-/*! jQuery Once - v2.0.0-alpha.9 - 12/15/2014 - https://github.com/RobLoach/jquery-once
- * (c) 2014 Rob Loach (http://github.com/RobLoach)
- * Licensed GPL-2.0, MIT */
-!function(a){"use strict";"object"==typeof exports?a(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";a.fn.once=function(b){if(b=b||"once","string"!=typeof b)throw new Error("jQuery.once() parameter MUST be a string");var c="jquery-once-"+b;return this.filter(function(){return a(this).data(c)!==!0}).data(c,!0)},a.fn.removeOnce=function(a){return this.findOnce(a).removeData("jquery-once-"+a)},a.fn.findOnce=function(b){var c="jquery-once-"+b;return this.filter(function(){return a(this).data(c)===!0})}});
+/*!
+ * jQuery Once v2.0.0-beta.1 - 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";e.fn.once=function(n){n=n||"once";if(typeof n!=="string"){throw new Error("jQuery.once() parameter must be a string")}var t="jquery-once-"+n;return this.filter(function(){return e(this).data(t)!==true}).data(t,true)};e.fn.removeOnce=function(e){return this.findOnce(e).removeData("jquery-once-"+e)};e.fn.findOnce=function(n){var t="jquery-once-"+n;return this.filter(function(){return e(this).data(t)===true})}});
+//# sourceMappingURL=jquery.once.min.js.map \ No newline at end of file