diff options
author | Rob Loach <robloach@gmail.com> | 2014-09-27 14:37:03 -0700 |
---|---|---|
committer | Rob Loach <robloach@gmail.com> | 2014-09-27 14:37:03 -0700 |
commit | 78efdc7f0ee07bb96d24d986b264b8425831b072 (patch) | |
tree | c5cf18c6c5cf3c1e5dea79fc21b7b8714edecf48 | |
parent | ca313a9ffe250f0b6ad15614adef3824d10fdbef (diff) | |
download | jquery-once-78efdc7f0ee07bb96d24d986b264b8425831b072.zip jquery-once-78efdc7f0ee07bb96d24d986b264b8425831b072.tar.gz jquery-once-78efdc7f0ee07bb96d24d986b264b8425831b072.tar.bz2 |
Add Projectz to maintain project files
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | LICENSE.md (renamed from LICENSE) | 12 | ||||
-rw-r--r-- | README.md | 87 | ||||
-rw-r--r-- | bower.json | 13 | ||||
-rw-r--r-- | component.json | 11 | ||||
-rw-r--r-- | package.json | 39 |
6 files changed, 132 insertions, 31 deletions
@@ -3,3 +3,4 @@ vendor node_modules composer.lock bower_components +npm-debug.log @@ -1,10 +1,9 @@ -jQuery Once is released under two licenses: GPL-2.0, and MIT. You may pick the -license that best suits your development needs. The text of both licenses are -provided below. +# License +jQuery Once is released under two licenses: GPL-2.0, and MIT. You may pick the license that best suits your development needs. The text of both licenses are provided below. -GPL-2.0 License: ----------------- + +## GPL-2.0 License GNU GENERAL PUBLIC LICENSE Version 2, June 1991 @@ -348,8 +347,7 @@ Public License instead of this License. -MIT License ------------ +## MIT License Copyright (c) 2013, Rob Loach @@ -8,13 +8,54 @@ <!-- BADGES/ --> -[](https://travis-ci.org/RobLoach/jquery-once) +[](http://travis-ci.org/robloach/jquery-once "Check this project's build status on TravisCI") +[](https://npmjs.org/package/jquery-once "View this project on NPM") +[](https://david-dm.org/robloach/jquery-once) +[](https://david-dm.org/robloach/jquery-once#info=devDependencies)<br/> +[](https://www.gittip.com/robloach/ "Donate weekly to this project using Gittip") <!-- /BADGES --> + +<!-- DESCRIPTION/ --> + +Act on jQuery elements only once. + +<!-- /DESCRIPTION --> + + 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. +<!-- /DESCRIPTION --> + +<!-- INSTALL/ --> + +## Install + +### [NPM](http://npmjs.org/) +- Use: `require('jquery-once')` +- Install: `npm install --save jquery-once` + +### [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.2` + +### [Ender](http://ender.jit.su/) +- Use: `require('jquery-once')` +- Install: `ender add jquery-once` + +### [Component](http://github.com/component/component) +- Use: `require('jquery-once')` +- Install: `component install robloach/jquery-once` + +### [Bower](http://bower.io/) +- Use: `require('jquery-once')` +- Install: `bower install jquery-once` + +<!-- /INSTALL --> + ## Usage @@ -43,22 +84,23 @@ $('div.calendar').once(function() { ``` -## Development +## Develop -Leverage [npm](http://npmjs.org), [grunt](http://gruntjs.com), and -[qunit](http://qunitjs.com): +Leverage [npm](http://npmjs.org), [grunt](http://gruntjs.com), +[qunit](http://qunitjs.com) and [projectz](http://github.com/bevry/projectz): ``` bash $ npm install $ npm test $ grunt release +$ npm run-script projectz ``` <!-- HISTORY/ --> ## History -[Discover the change history by heading on over to the `HISTORY.md` file.](HISTORY.md) +[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/robloach/jquery-once/blob/master/HISTORY.md#files) <!-- /HISTORY --> @@ -67,15 +109,42 @@ $ grunt release ## License -Dual licensed under the [MIT and GPL licenses](LICENSE). +Licensed under: + +- [GPL-2.0](http://opensource.org/licenses/gpl-2.0.php) +- the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://opensource.org/licenses/MIT) + +Copyright © Rob Loach <robloach@gmail.com> (http://github.com/robloach) <!-- /LICENSE --> + <!-- BACKERS/ --> -## Credits +## Backers + +### Maintainers + +These amazing people are maintaining this project: + +- Rob Loach <robloach@gmail.com> (https://github.com/robloach) + +### Sponsors -* [Konstantin Käfer](http://kkaefer.com) -* [Rob Loach](http://robloach.net) +No sponsors yet! Will you be the first? + +[](https://www.gittip.com/robloach/ "Donate weekly to this project using Gittip") + +### Contributors + +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) +- [RobLoach](https://github.com/RobLoach) — [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.1", + "version": "2.0.0-alpha.2", "main": "jquery.once.js", "ignore": [ "*.json", @@ -16,6 +16,13 @@ "jquery" ], "dependencies": { - "jquery": ">=2.1.1" + "jquery": "~2.1.1" + }, + "devDependencies": { + "grunt": "~0.4.5", + "grunt-contrib-jshint": "~0.10.0", + "grunt-contrib-qunit": "~0.5.2", + "grunt-contrib-uglify": "~0.6.0", + "projectz": "^0.3.15" } -} +}
\ No newline at end of file diff --git a/component.json b/component.json index 7f8345a..0aa8945 100644 --- a/component.json +++ b/component.json @@ -2,9 +2,9 @@ "name": "jquery-once", "repo": "robloach/jquery-once", "homepage": "http://github.com/robloach/jquery-once", - "description": "jQuery Once Plugin", - "license": "MIT", - "version": "2.0.0-alpha.1", + "description": "Act on jQuery elements only once.", + "license": "GPL-2.0", + "version": "2.0.0-alpha.2", "keywords": [ "jquery" ], @@ -17,5 +17,6 @@ ], "files": [ "jquery.once.min.js" - ] -} + ], + "demo": "http://github.com/robloach/jquery-once" +}
\ No newline at end of file diff --git a/package.json b/package.json index 6ae6a41..333592f 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,36 @@ { "name": "jquery-once", - "description": "jQuery Once Plugin.", - "version": "2.0.0-alpha.1", + "title": "jQuery Once", + "description": "Act on jQuery elements only once.", + "version": "2.0.0-alpha.2", "keywords": [ "jquery" ], + "badges": { + "travis": true, + "npm": true, + "david": true, + "daviddev": true, + "gittip": "robloach" + }, "homepage": "http://github.com/robloach/jquery-once", - "author": "Rob Loach (http://robloach.net)", + "author": "Rob Loach <robloach@gmail.com> (http://github.com/robloach)", + "maintainers": [ + "Rob Loach <robloach@gmail.com> (https://github.com/robloach)" + ], + "main": "jquery.once.js", + "contributors": [ + "JohnAlbin (https://github.com/JohnAlbin)", + "RobLoach (https://github.com/RobLoach)", + "theodoreb (https://github.com/theodoreb)" + ], "repository": { "type": "git", "url": "https://github.com/RobLoach/jquery-once.git" }, + "bugs": { + "url": "https://github.com/robloach/jquery-once/issues" + }, "licenses": [ { "type": "GPL-2.0", @@ -21,16 +41,21 @@ "url": "http://opensource.org/licenses/MIT" } ], + "engines": { + "node": ">=0.10" + }, "dependencies": { "jquery": "~2.1.1" }, "devDependencies": { "grunt": "~0.4.5", - "grunt-contrib-qunit": "~0.5.2", "grunt-contrib-jshint": "~0.10.0", - "grunt-contrib-uglify": "~0.6.0" + "grunt-contrib-qunit": "~0.5.2", + "grunt-contrib-uglify": "~0.6.0", + "projectz": "^0.3.15" }, "scripts": { - "test": "grunt jshint qunit" + "test": "grunt jshint qunit", + "projectz": "node_modules/.bin/projectz compile" } -} +}
\ No newline at end of file |