summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Loach <robloach@gmail.com>2013-08-31 11:21:55 -0400
committerRob Loach <robloach@gmail.com>2013-08-31 11:21:55 -0400
commit86e9ef98ed9d971c598a95015f46f6039a2192ca (patch)
tree9065a4f5e0a33122222d80b3ef32df070f958f6e
parentc573fec537bc37d2016e650061158ce29c7aa214 (diff)
downloadjquery-once-86e9ef98ed9d971c598a95015f46f6039a2192ca.zip
jquery-once-86e9ef98ed9d971c598a95015f46f6039a2192ca.tar.gz
jquery-once-86e9ef98ed9d971c598a95015f46f6039a2192ca.tar.bz2
Update documentation
-rw-r--r--README.md7
-rw-r--r--bower.json11
-rw-r--r--component.json3
-rw-r--r--composer.json1
-rw-r--r--jquery.once.js2
5 files changed, 20 insertions, 4 deletions
diff --git a/README.md b/README.md
index 8ec09d4..aed56c3 100644
--- a/README.md
+++ b/README.md
@@ -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
-------
diff --git a/bower.json b/bower.json
index 85426d1..6443b9a 100644
--- a/bower.json
+++ b/bower.json
@@ -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