diff options
author | Rob Loach <robloach@gmail.com> | 2014-10-05 23:53:23 -0400 |
---|---|---|
committer | Rob Loach <robloach@gmail.com> | 2014-10-05 23:53:23 -0400 |
commit | 18dad06c6b8901314fba8eb5508673b30b82eb0a (patch) | |
tree | a45da244b5883e1fa7fd690b9156d0754b933358 /jquery.once.min.js | |
parent | 719639d2e7db76b4f043c6e4b2e5b19bb53c600e (diff) | |
download | jquery-once-18dad06c6b8901314fba8eb5508673b30b82eb0a.zip jquery-once-18dad06c6b8901314fba8eb5508673b30b82eb0a.tar.gz jquery-once-18dad06c6b8901314fba8eb5508673b30b82eb0a.tar.bz2 |
Update to 2.0.0-alpha.52.0.0-alpha.5
Diffstat (limited to 'jquery.once.min.js')
-rw-r--r-- | jquery.once.min.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery.once.min.js b/jquery.once.min.js index 288a3cd..9555331 100644 --- a/jquery.once.min.js +++ b/jquery.once.min.js @@ -1,4 +1,4 @@ -/*! jQuery Once - v2.0.0-alpha.4 - 10/5/2014 - https://github.com/RobLoach/jquery-once +/*! jQuery Once - v2.0.0-alpha.5 - 10/5/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";var b={},c=0;a.fn.once=function(d,e){"string"!=typeof d&&(d in b||(b[d]=++c),e||(e=d),d=b[d]);var f="jquery-once-"+d,g=this.filter(function(){return a(this).data(f)!==!0}).data(f,!0);return a.isFunction(e)?g.each(e):g},a.fn.removeOnce=function(b,c){var d="jquery-once-"+b,e=this.filter(function(){return a(this).data(d)===!0}).removeData(d);return a.isFunction(c)?e.each(c):e}});
\ No newline at end of file +!function(a){"use strict";"object"==typeof exports?a(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";var b={},c=0;a.fn.once=function(d,e){"string"!=typeof d&&(d in b||(b[d]=++c),e||(e=d),d=b[d]);var f="jquery-once-"+d,g=this.filter(function(){return a(this).data(f)!==!0}).data(f,!0);return a.isFunction(e)?g.each(e):g},a.fn.removeOnce=function(b,c){var d=this.findOnce(b);return d.removeData("jquery-once-"+b),a.isFunction(c)?d.each(c):d},a.fn.findOnce=function(b,c){var d="jquery-once-"+b,e=this.filter(function(){return a(this).data(d)===!0});return a.isFunction(c)?e.each(c):e}});
\ No newline at end of file |