jquery-once
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -5,2 +5,6 @@ # Change Log | ||
## [2.2.2] - May 8th, 2019 | ||
### Changed | ||
- Updated developer dependencies and documenation | ||
## [2.2.1] - March 29th, 2018 | ||
@@ -7,0 +11,0 @@ ### Changed |
/*! | ||
* jQuery Once v2.1.3 Typescript Definition - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.2.2 Typescript Definition - http://github.com/robloach/jquery-once | ||
* @license MIT, GPL-2.0 | ||
@@ -4,0 +4,0 @@ * http://opensource.org/licenses/MIT |
/*! | ||
* jQuery Once v2.2.1 - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.2.2 - http://github.com/robloach/jquery-once | ||
* @license MIT, GPL-2.0 | ||
@@ -41,3 +41,3 @@ * http://opensource.org/licenses/MIT | ||
* | ||
* @returns The valid ID name. | ||
* @returns {number} The valid ID name. | ||
* | ||
@@ -52,2 +52,3 @@ * @throws TypeError when an ID is provided, but not a string. | ||
} | ||
return id; | ||
@@ -63,3 +64,3 @@ }; | ||
* | ||
* @returns jQuery collection of elements that have now run once by | ||
* @returns {jQuery} jQuery collection of elements that have now run once by | ||
* the given ID. | ||
@@ -114,3 +115,3 @@ * | ||
* | ||
* @returns jQuery collection of elements that were acted upon to remove their | ||
* @returns {jQuery} jQuery collection of elements that were acted upon to remove their | ||
* once data. | ||
@@ -150,3 +151,3 @@ * | ||
* | ||
* @returns jQuery collection of elements that have been run once. | ||
* @returns {jQuery} jQuery collection of elements that have been run once. | ||
* | ||
@@ -153,0 +154,0 @@ * @example |
/*! | ||
* jQuery Once v2.2.1 - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.2.2 - http://github.com/robloach/jquery-once | ||
* @license MIT, GPL-2.0 | ||
@@ -4,0 +4,0 @@ * http://opensource.org/licenses/MIT |
@@ -5,3 +5,3 @@ { | ||
"description": "Act on jQuery elements only once.", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"keywords": [ | ||
@@ -39,17 +39,22 @@ "jquery", | ||
"@types/jquery": "*", | ||
"jsdoc-to-markdown": "^4.0.0", | ||
"jsdom": "~11.6.0", | ||
"mocha": "~5.0.0", | ||
"mocha-jsdom": "robloach/mocha-jsdom#update-jsdom", | ||
"uglify-js": "~3.3.5", | ||
"xo": "^0.20.2" | ||
"coveralls": "^3.0.3", | ||
"jsdoc-to-markdown": "^4.0.1", | ||
"jsdom": "~15.0.0", | ||
"mocha": "^6.1.2", | ||
"mocha-jsdom": "*", | ||
"nyc": "^14.1.0", | ||
"uglify-js": "~3.5.3", | ||
"xo": "*" | ||
}, | ||
"scripts": { | ||
"test": "mocha test/test.js", | ||
"posttest": "xo --space=2 --no-esnext", | ||
"test": "mocha test/test.js --env node", | ||
"posttest": "xo --space=2 --no-esnext jquery.once.js test", | ||
"docs": "jsdoc2md jquery.once.js > API.md", | ||
"build": "uglifyjs -o jquery.once.min.js --comments --source-map filename=jquery.once.min.js,url=jquery.once.min.js.map --mangle -- jquery.once.js", | ||
"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" | ||
"prepackage": "npm it", | ||
"package": "npm run docs", | ||
"postpackage": "npm run build", | ||
"coverage": "nyc npm run test", | ||
"precoveralls": "npm run coverage", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls" | ||
}, | ||
@@ -56,0 +61,0 @@ "files": [ |
@@ -7,3 +7,3 @@ # jQuery Once [![NPM version](https://img.shields.io/npm/v/jquery-once.svg)](https://npmjs.org/package/jquery-once "View this project on NPM") | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/RobLoach/jquery-once.svg)](https://greenkeeper.io/) | ||
[![Coverage Status](https://coveralls.io/repos/RobLoach/jquery-once/badge.svg)](https://coveralls.io/r/RobLoach/jquery-once) | ||
[![Coverage Status](https://coveralls.io/repos/github/RobLoach/jquery-once/badge.svg?branch=master)](https://coveralls.io/github/RobLoach/jquery-once?branch=master) | ||
@@ -10,0 +10,0 @@ > Act on [jQuery](http://jquery.com) elements only once. |
Sorry, the diff of this file is not supported yet
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
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
21235
9