diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | bower.json | 2 | ||||
-rw-r--r-- | component.json | 2 | ||||
-rw-r--r-- | jquery.once.min.js | 4 | ||||
-rw-r--r-- | package.json | 4 |
5 files changed, 10 insertions, 8 deletions
@@ -39,7 +39,7 @@ be used to ensure that a function is only applied once to an element. ### [Browserify](http://browserify.org/) - Use: `require('jquery-once')` - Install: `npm install --save jquery-once` -- CDN URL: `//wzrd.in/bundle/jquery-once@2.0.0-alpha.4` +- CDN URL: `//wzrd.in/bundle/jquery-once@2.0.0-alpha.5` ### [Ender](http://ender.jit.su/) - Use: `require('jquery-once')` @@ -174,9 +174,11 @@ No sponsors yet! Will you be the first? These amazing people have contributed code to this project: - [JohnAlbin](https://github.com/JohnAlbin) — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=JohnAlbin) -- [Rob Loach](https://github.com/RobLoach) <robloach@gmail.com> — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=RobLoach) +- [Rob Loach](https://github.com/robloach) <robloach@gmail.com> — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=robloach) - [theodoreb](https://github.com/theodoreb) — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=theodoreb) [Become a contributor!](https://github.com/RobLoach/jquery-once/blob/master/CONTRIBUTING.md#files) <!-- /BACKERS --> + + @@ -2,7 +2,7 @@ "name": "jquery-once", "homepage": "http://github.com/robloach/jquery-once", "description": "jQuery Once Plugin", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "main": "jquery.once.js", "ignore": [ "*.json", diff --git a/component.json b/component.json index 21c69e0..f78f7a9 100644 --- a/component.json +++ b/component.json @@ -4,7 +4,7 @@ "homepage": "http://github.com/robloach/jquery-once", "description": "Act on jQuery elements only once.", "license": "GPL-2.0", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "keywords": [ "jquery" ], 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 diff --git a/package.json b/package.json index fedaa8a..31220ce 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "main": "jquery.once.js", "contributors": [ "JohnAlbin (https://github.com/JohnAlbin)", - "Rob Loach <robloach@gmail.com> (https://github.com/RobLoach)", + "Rob Loach <robloach@gmail.com> (https://github.com/robloach)", "theodoreb (https://github.com/theodoreb)" ], "repository": { @@ -61,4 +61,4 @@ "release": "grunt release", "jsdoc": "npm install jsdoc && node_modules/.bin/jsdoc jquery.once.js" } -} +}
\ No newline at end of file |