diff options
Diffstat (limited to 'jquery.once.min.js')
-rw-r--r-- | jquery.once.min.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.once.min.js b/jquery.once.min.js index c3d5d79..13cfa6c 100644 --- a/jquery.once.min.js +++ b/jquery.once.min.js @@ -1,4 +1,4 @@ -/*! jQuery Once - v2.0.0-alpha.2 - 9/27/2014 - http://github.com/robloach/jquery-once +/*! jQuery Once - v2.0.0-alpha.3 - 10/1/2014 - https://github.com/RobLoach/jquery-once * (c) 2014 Rob Loach <robloach@gmail.com> (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 |