diff options
author | Rob Loach <robloach@gmail.com> | 2013-08-31 11:21:55 -0400 |
---|---|---|
committer | Rob Loach <robloach@gmail.com> | 2013-08-31 11:21:55 -0400 |
commit | 86e9ef98ed9d971c598a95015f46f6039a2192ca (patch) | |
tree | 9065a4f5e0a33122222d80b3ef32df070f958f6e | |
parent | c573fec537bc37d2016e650061158ce29c7aa214 (diff) | |
download | jquery-once-86e9ef98ed9d971c598a95015f46f6039a2192ca.zip jquery-once-86e9ef98ed9d971c598a95015f46f6039a2192ca.tar.gz jquery-once-86e9ef98ed9d971c598a95015f46f6039a2192ca.tar.bz2 |
Update documentation
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | bower.json | 11 | ||||
-rw-r--r-- | component.json | 3 | ||||
-rw-r--r-- | composer.json | 1 | ||||
-rw-r--r-- | jquery.once.js | 2 |
5 files changed, 20 insertions, 4 deletions
@@ -4,6 +4,7 @@ jQuery Once Filters out all elements that had the same filter applied on them before. It can be used to ensure that a function is only applied once to an element. + Usage ----- @@ -31,10 +32,12 @@ $('div.calendar').once(function() { }); ``` + Development ----------- -Leverage [npm](http://npmjs.org), [grunt](http://gruntjs.com), and [qunit](http://qunitjs.com): +Leverage [npm](http://npmjs.org), [grunt](http://gruntjs.com), and +[qunit](http://qunitjs.com): ``` bash $ npm install @@ -42,11 +45,13 @@ $ npm test $ grunt release ``` + License ------- Dual licensed under the MIT and GPL licenses. + Credits ------- @@ -1,12 +1,21 @@ { "name": "jquery-once", + "homepage": "http://github.com/robloach/jquery-once", "description": "jQuery Once Plugin", "version": "1.2.3", + "main": "jquery.once.js" + "ignore": [ + "*.json", + "test", + "example", + ".travis.yml", + ".gitignore", + "Gruntfile.js" + ], "keywords": [ "jquery" ], "dependencies": { "jquery": ">=1.8.0" }, - "main": "jquery.once.js" } diff --git a/component.json b/component.json index bab016d..34cfe45 100644 --- a/component.json +++ b/component.json @@ -1,6 +1,9 @@ { "name": "jquery-once", + "repo": "robloach/jquery-once", + "homepage": "http://github.com/robloach/jquery-once", "description": "jQuery Once Plugin", + "license": "MIT", "version": "1.2.3", "keywords": [ "jquery" diff --git a/composer.json b/composer.json index f1547de..ab1bc4f 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,6 @@ }, "extra": { "component": { - "main": "jquery.once.js", "scripts": [ "jquery.once.js" ], diff --git a/jquery.once.js b/jquery.once.js index 5363945..dd2e6ce 100644 --- a/jquery.once.js +++ b/jquery.once.js @@ -1,6 +1,6 @@ /** * jQuery Once Plugin 1.2.3 - * http://plugins.jquery.com/once/ + * http://github.com/robloach/jquery-once * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php |