jquery-once
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -5,2 +5,7 @@ # Change Log | ||
## [2.2.3] - May 14th, 2019 | ||
### Fixed | ||
- Fix CommonJS factory when export element is present | ||
- By [Sam152](https://github.com/Sam152) from [#91](https://github.com/RobLoach/jquery-once/issues/91) | ||
## [2.2.2] - May 8th, 2019 | ||
@@ -7,0 +12,0 @@ ### Changed |
/*! | ||
* jQuery Once v2.2.2 Typescript Definition - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.2.3 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.2 - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.2.3 - http://github.com/robloach/jquery-once | ||
* @license MIT, GPL-2.0 | ||
@@ -20,3 +20,3 @@ * http://opensource.org/licenses/MIT | ||
if (typeof exports === 'object') { | ||
if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { | ||
// CommonJS | ||
@@ -23,0 +23,0 @@ factory(require('jquery')); |
/*! | ||
* jQuery Once v2.2.2 - http://github.com/robloach/jquery-once | ||
* jQuery Once v2.2.3 - http://github.com/robloach/jquery-once | ||
* @license MIT, GPL-2.0 | ||
@@ -7,3 +7,3 @@ * http://opensource.org/licenses/MIT | ||
*/ | ||
(function(e){"use strict";if(typeof exports==="object"){e(require("jquery"))}else if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(t){"use strict";var r=function(e){e=e||"once";if(typeof e!=="string"){throw new TypeError("The jQuery Once id parameter must be a string")}return e};t.fn.once=function(e){var n="jquery-once-"+r(e);return this.filter(function(){return t(this).data(n)!==true}).data(n,true)};t.fn.removeOnce=function(e){return this.findOnce(e).removeData("jquery-once-"+r(e))};t.fn.findOnce=function(e){var n="jquery-once-"+r(e);return this.filter(function(){return t(this).data(n)===true})}}); | ||
(function(e){"use strict";if(typeof exports==="object"&&typeof exports.nodeName!=="string"){e(require("jquery"))}else if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(t){"use strict";var r=function(e){e=e||"once";if(typeof e!=="string"){throw new TypeError("The jQuery Once id parameter must be a string")}return e};t.fn.once=function(e){var n="jquery-once-"+r(e);return this.filter(function(){return t(this).data(n)!==true}).data(n,true)};t.fn.removeOnce=function(e){return this.findOnce(e).removeData("jquery-once-"+r(e))};t.fn.findOnce=function(e){var n="jquery-once-"+r(e);return this.filter(function(){return t(this).data(n)===true})}}); | ||
//# sourceMappingURL=jquery.once.min.js.map |
@@ -5,3 +5,3 @@ { | ||
"description": "Act on jQuery elements only once.", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"keywords": [ | ||
@@ -40,4 +40,4 @@ "jquery", | ||
"coveralls": "^3.0.3", | ||
"jsdoc-to-markdown": "^4.0.1", | ||
"jsdom": "~15.0.0", | ||
"jsdoc-to-markdown": "^5.0.0", | ||
"jsdom": "~15.1.0", | ||
"mocha": "^6.1.2", | ||
@@ -44,0 +44,0 @@ "mocha-jsdom": "*", |
@@ -22,4 +22,4 @@ # jQuery Once [![NPM version](https://img.shields.io/npm/v/jquery-once.svg)](https://npmjs.org/package/jquery-once "View this project on NPM") | ||
[Component](https://github.com/componentjs/component) | `component install RobLoach/jquery-once` | ||
[jsDelivr](http://www.jsdelivr.com/#!jquery.once) | `//cdn.jsdelivr.net/npm/jquery-once@2.2.0/jquery.once.min.js` | ||
[cdnjs](https://cdnjs.com/libraries/jquery-once) | `//cdnjs.cloudflare.com/ajax/libs/jquery-once/2.1.1/jquery.once.js` | ||
[jsDelivr](http://www.jsdelivr.com/#!jquery.once) | `//cdn.jsdelivr.net/npm/jquery-once@2.2.3/jquery.once.min.js` | ||
[cdnjs](https://cdnjs.com/libraries/jquery-once) | `//cdnjs.cloudflare.com/ajax/libs/jquery-once/2.2.3/jquery.once.js` | ||
@@ -26,0 +26,0 @@ ## Usage |
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
21539