jquery-once
Advanced tools
Comparing version 2.0.1 to 2.0.2
# History | ||
## v2.0.2 June 5th, 2015 | ||
- Added code coverage | ||
- Added [jsDelivr CDN](http://www.jsdelivr.com/#!jquery-once) automated support | ||
- Added [cdnjs](https://github.com/cdnjs/cdnjs) automated support | ||
## v2.0.1 May 5th, 2015 | ||
@@ -4,0 +9,0 @@ - Updated development dependencies |
/*! | ||
* jQuery Once v2.0.1 - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.0.2 - http://github.com/robloach/jquery-once | ||
* @license MIT, GPL-2.0 | ||
@@ -4,0 +4,0 @@ * http://opensource.org/licenses/MIT |
/*! | ||
* jQuery Once v2.0.1 - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.0.2 - http://github.com/robloach/jquery-once | ||
* @license MIT, GPL-2.0 | ||
@@ -4,0 +4,0 @@ * http://opensource.org/licenses/MIT |
# License | ||
Copyright © Rob Loach (http://github.com/RobLoach) | ||
Copyright © [Rob Loach](http://github.com/RobLoach) | ||
## GPL-2.0 | ||
[GPL-2.0](http://opensource.org/licenses/gpl-2.0.php) | ||
> [GPL-2.0](http://opensource.org/licenses/gpl-2.0.php) | ||
## The MIT License | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
> Permission is hereby granted, free of charge, to any person obtaining a copy | ||
> of this software and associated documentation files (the "Software"), to deal | ||
> in the Software without restriction, including without limitation the rights | ||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
> copies of the Software, and to permit persons to whom the Software is | ||
> furnished to do so, subject to the following conditions: | ||
> | ||
> The above copyright notice and this permission notice shall be included in | ||
> all copies or substantial portions of the Software. | ||
> | ||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
> SOFTWARE. |
@@ -5,3 +5,3 @@ { | ||
"description": "Act on jQuery elements only once.", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"keywords": [ | ||
@@ -11,9 +11,2 @@ "jquery", | ||
], | ||
"badges": { | ||
"travis": true, | ||
"npm": true, | ||
"david": true, | ||
"daviddev": true, | ||
"npmdownloads": true | ||
}, | ||
"homepage": "https://github.com/RobLoach/jquery-once", | ||
@@ -37,2 +30,3 @@ "author": "Rob Loach (http://github.com/RobLoach)", | ||
}, | ||
"license": "(GPL-2.0 OR MIT)", | ||
"licenses": [ | ||
@@ -55,7 +49,7 @@ { | ||
"devDependencies": { | ||
"eslint": "^0.20.0", | ||
"eslint": "^0.22.1", | ||
"jsdoc-to-markdown": "^1.0.3", | ||
"jsdom": "~3.1.2", | ||
"mocha": "~2.2.4", | ||
"mocha-jsdom": "~0.3.0", | ||
"mocha-jsdom": "~0.4.0", | ||
"uglify-js": "~2.4.21" | ||
@@ -65,6 +59,8 @@ }, | ||
"pretest": "eslint jquery.once.js test/test.js", | ||
"test": "mocha", | ||
"test": "mocha test/test.js", | ||
"docs": "jsdoc2md jquery.once.js > API.md", | ||
"build": "uglifyjs jquery.once.js -o jquery.once.min.js --comments --source-map jquery.once.min.js.map --mangle", | ||
"package": "npm install && npm run test && npm run projectz && npm run docs && npm run build" | ||
"package": "npm install && npm run test && npm run docs && npm run build", | ||
"coverage": "npm i istanbul && istanbul cover test", | ||
"coveralls": "npm run coverage && npm i coveralls && cat ./coverage/lcov.info | coveralls" | ||
}, | ||
@@ -75,3 +71,13 @@ "files": [ | ||
"jquery.once.min.js.map" | ||
] | ||
], | ||
"autoupdate": { | ||
"source": "git", | ||
"target": "git://github.com/RobLoach/jquery-once.git", | ||
"basePath": "", | ||
"files": [ | ||
"jquery.once.js", | ||
"jquery.once.min.js", | ||
"jquery.once.min.js.map" | ||
] | ||
} | ||
} |
@@ -7,8 +7,8 @@ # jQuery Once | ||
[![Dependency Status](https://img.shields.io/david/RobLoach/jquery-once.svg)](https://david-dm.org/RobLoach/jquery-once) | ||
[![Dev Dependency Status](https://img.shields.io/david/dev/RobLoach/jquery-once.svg)](https://david-dm.org/RobLoach/jquery-once#info=devDependencies) | ||
[![Coverage Status](https://coveralls.io/repos/RobLoach/jquery-once/badge.svg)](https://coveralls.io/r/RobLoach/jquery-once) | ||
Act on [jQuery](http://jquery.com) elements only 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. | ||
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. | ||
@@ -41,2 +41,4 @@ ## Install | ||
[See the API documentation for more information on how to use jQuery Once.](https://github.com/RobLoach/jquery-once/blob/master/API.md#readme) | ||
``` javascript | ||
@@ -62,5 +64,3 @@ // The following will change the color of each paragraph to red, just once | ||
[See the API documentation for more information on how to use jQuery Once.](https://github.com/RobLoach/jquery-once/blob/master/API.md#readme) | ||
## Development | ||
@@ -67,0 +67,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14943
4