diff options
author | Rob Loach <robloach@gmail.com> | 2014-10-16 09:21:46 -0400 |
---|---|---|
committer | Rob Loach <robloach@gmail.com> | 2014-10-16 09:21:46 -0400 |
commit | a4bbcbb0d95de9df4e6e868e582f87df31b82a9e (patch) | |
tree | fc4eb2ac6d85616895d1e316a984c1218ae25645 /jquery.once.min.js | |
parent | 09b340240d294f923ae2d0e90ac235830a0e71b0 (diff) | |
download | jquery-once-a4bbcbb0d95de9df4e6e868e582f87df31b82a9e.zip jquery-once-a4bbcbb0d95de9df4e6e868e582f87df31b82a9e.tar.gz jquery-once-a4bbcbb0d95de9df4e6e868e582f87df31b82a9e.tar.bz2 |
Update to 2.0.0-alpha.92.0.0-alpha.9
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 1e29ed1..45302c6 100644 --- a/jquery.once.min.js +++ b/jquery.once.min.js @@ -1,4 +1,4 @@ -/*! jQuery Once - v2.0.0-alpha.8 - 10/15/2014 - https://github.com/RobLoach/jquery-once +/*! jQuery Once - v2.0.0-alpha.9 - 10/16/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)throw new Error("An ID is required when calling jQuery.once()");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})}});
\ No newline at end of file |