diff options
-rw-r--r-- | API.md | 2 | ||||
-rw-r--r-- | HISTORY.md | 2 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | bower.json | 3 | ||||
-rw-r--r-- | component.json | 2 | ||||
-rw-r--r-- | jquery.once.js | 2 | ||||
-rw-r--r-- | jquery.once.min.js | 4 | ||||
-rw-r--r-- | jquery.once.min.js.map | 2 | ||||
-rw-r--r-- | once.jquery.json | 2 | ||||
-rw-r--r-- | package.json | 4 |
10 files changed, 15 insertions, 12 deletions
@@ -8,7 +8,7 @@ <a name="once"></a> #once([id]) -Filter elements by whether they have not yet been processed. +Filter elements that have yet to be processed by the given data ID. **Params** @@ -1,6 +1,6 @@ # History -## v2.0.x +## v2.0.0-beta.3 January 4, 2014 - Added [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown) to automatically build API documentation - Added type checking of the id argument across all jQuery Once functions @@ -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-beta.2` +- CDN URL: `//wzrd.in/bundle/jquery-once@2.0.0-beta.3` ### [Ender](http://ender.jit.su/) - Use: `require('jquery-once')` @@ -139,3 +139,5 @@ These amazing people have contributed code to this project: [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", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "main": "jquery.once.js", "ignore": [ "*.json", @@ -20,6 +20,7 @@ }, "devDependencies": { "eslint": "~0.11.0-alpha.0", + "jsdoc-to-markdown": "^0.5.9", "jsdom": "^2.0.0", "mocha": "*", "mocha-jsdom": "^0.2.0", diff --git a/component.json b/component.json index 35f3530..03d9219 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-beta.2", + "version": "2.0.0-beta.3", "keywords": [ "jquery", "jquery-plugin" diff --git a/jquery.once.js b/jquery.once.js index afe8eb4..c4091f6 100644 --- a/jquery.once.js +++ b/jquery.once.js @@ -1,5 +1,5 @@ /*! - * jQuery Once v2.0.0-beta.2 - http://github.com/robloach/jquery-once + * jQuery Once v2.0.0-beta.3 - http://github.com/robloach/jquery-once * @license MIT, GPL-2.0 * http://opensource.org/licenses/MIT * http://opensource.org/licenses/GPL-2.0 diff --git a/jquery.once.min.js b/jquery.once.min.js index b6ef20f..71f745b 100644 --- a/jquery.once.min.js +++ b/jquery.once.min.js @@ -1,8 +1,8 @@ /*! - * jQuery Once v2.0.0-beta.2 - http://github.com/robloach/jquery-once + * jQuery Once v2.0.0-beta.3 - 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})}}); +(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";var n=function(e){e=e||"once";if(typeof e!=="string"){throw new Error("The jQuery Once id parameter must be a string")}return e};e.fn.once=function(t){var r="jquery-once-"+n(t);return this.filter(function(){return e(this).data(r)!==true}).data(r,true)};e.fn.removeOnce=function(e){return this.findOnce(e).removeData("jquery-once-"+n(e))};e.fn.findOnce=function(t){var r="jquery-once-"+n(t);return this.filter(function(){return e(this).data(r)===true})}}); //# sourceMappingURL=jquery.once.min.js.map
\ No newline at end of file diff --git a/jquery.once.min.js.map b/jquery.once.min.js.map index 91d99b9..c04060d 100644 --- a/jquery.once.min.js.map +++ b/jquery.once.min.js.map @@ -1 +1 @@ -{"version":3,"file":"jquery.once.min.js","sources":["jquery.once.js"],"names":["factory","exports","require","define","amd","jQuery","$","fn","once","id","Error","name","this","filter","data","removeOnce","findOnce","removeData"],"mappings":";;;;;;CAgBC,SAAUA,GACT,YACA,UAAWC,WAAY,SAAU,CAE/BD,EAAQE,QAAQ,eACX,UAAWC,UAAW,YAAcA,OAAOC,IAAK,CAErDD,QAAQ,UAAWH,OACd,CAELA,EAAQK,WAEV,SAAUC,GACV,YAuBAA,GAAEC,GAAGC,KAAO,SAAUC,GACpBA,EAAKA,GAAM,MACX,UAAWA,KAAO,SAAU,CAC1B,KAAM,IAAIC,OAAM,4CAIlB,GAAIC,GAAO,eAAiBF,CAG5B,OAAOG,MAAKC,OAAO,WACjB,MAAOP,GAAEM,MAAME,KAAKH,KAAU,OAC7BG,KAAKH,EAAM,MA2BhBL,GAAEC,GAAGQ,WAAa,SAAUN,GAE1B,MAAOG,MAAKI,SAASP,GAAIQ,WAAW,eAAiBR,GA0BvDH,GAAEC,GAAGS,SAAW,SAAUP,GAExB,GAAIE,GAAO,eAAiBF,CAE5B,OAAOG,MAAKC,OAAO,WACjB,MAAOP,GAAEM,MAAME,KAAKH,KAAU"}
\ No newline at end of file +{"version":3,"file":"jquery.once.min.js","sources":["jquery.once.js"],"names":["factory","exports","require","define","amd","jQuery","$","checkId","id","Error","fn","once","name","this","filter","data","removeOnce","findOnce","removeData"],"mappings":";;;;;;CAgBC,SAAUA,GACT,YACA,UAAWC,WAAY,SAAU,CAE/BD,EAAQE,QAAQ,eACX,UAAWC,UAAW,YAAcA,OAAOC,IAAK,CAErDD,QAAQ,UAAWH,OACd,CAELA,EAAQK,WAEV,SAAUC,GACV,YAaA,IAAIC,GAAU,SAASC,GACrBA,EAAKA,GAAM,MACX,UAAWA,KAAO,SAAU,CAC1B,KAAM,IAAIC,OAAM,iDAElB,MAAOD,GAyCTF,GAAEI,GAAGC,KAAO,SAAUH,GAEpB,GAAII,GAAO,eAAiBL,EAAQC,EAGpC,OAAOK,MAAKC,OAAO,WACjB,MAAOR,GAAEO,MAAME,KAAKH,KAAU,OAC7BG,KAAKH,EAAM,MAiChBN,GAAEI,GAAGM,WAAa,SAAUR,GAE1B,MAAOK,MAAKI,SAAST,GAAIU,WAAW,eAAiBX,EAAQC,IAkC/DF,GAAEI,GAAGO,SAAW,SAAUT,GAExB,GAAII,GAAO,eAAiBL,EAAQC,EAEpC,OAAOK,MAAKC,OAAO,WACjB,MAAOR,GAAEO,MAAME,KAAKH,KAAU"}
\ No newline at end of file diff --git a/once.jquery.json b/once.jquery.json index 048d011..246afbe 100644 --- a/once.jquery.json +++ b/once.jquery.json @@ -6,7 +6,7 @@ "jquery", "once" ], - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "author": { "name": "Rob Loach", "url": "http://robloach.net" diff --git a/package.json b/package.json index 6990063..cc36358 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jquery-once", "title": "jQuery Once", "description": "Act on jQuery elements only once.", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "keywords": [ "jquery", "jquery-plugin" @@ -65,4 +65,4 @@ "docs": "./node_modules/.bin/jsdoc2md jquery.once.js > API.md", "build": "./node_modules/.bin/uglifyjs jquery.once.js -o jquery.once.min.js --comments --source-map jquery.once.min.js.map --mangle" } -} +}
\ No newline at end of file |