list-dragon
Advanced tools
Comparing version 0.9.0 to 1.0.0
@@ -561,6 +561,6 @@ // list-dragon node module | ||
})( | ||
typeof window === 'undefined' ? module : window.module || (window.ListDragon = {}), | ||
typeof window === 'undefined' ? module.exports : window.module && window.module.exports || (window.ListDragon.exports = {}) | ||
typeof module === 'object' && module || (window.ListDragon = {}), | ||
typeof module === 'object' && module.exports || (window.ListDragon.exports = {}) | ||
) || ( | ||
typeof window === 'undefined' || window.module || (window.ListDragon = window.ListDragon.exports) | ||
typeof module === 'object' || (window.ListDragon = window.ListDragon.exports) | ||
); | ||
@@ -567,0 +567,0 @@ |
{ | ||
"name": "list-dragon", | ||
"version": "0.9.0", | ||
"version": "1.0.0", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "description": "Drag and drop items between lists.", |
@@ -560,6 +560,6 @@ // list-dragon node module | ||
})( | ||
typeof window === 'undefined' ? module : window.module || (window.ListDragon = {}), | ||
typeof window === 'undefined' ? module.exports : window.module && window.module.exports || (window.ListDragon.exports = {}) | ||
typeof module === 'object' && module || (window.ListDragon = {}), | ||
typeof module === 'object' && module.exports || (window.ListDragon.exports = {}) | ||
) || ( | ||
typeof window === 'undefined' || window.module || (window.ListDragon = window.ListDragon.exports) | ||
typeof module === 'object' || (window.ListDragon = window.ListDragon.exports) | ||
); | ||
@@ -579,9 +579,13 @@ | ||
* Before the IIFE runs, the actual parameter expressions are executed: | ||
* 1. If `module` object defined, we're in NodeJs so assume there is a `module` object with an `exports` object | ||
* 2. If `module` object undefined, we're in browser so define a `window.ListDragon` object with an `exports` object | ||
* 1. If `window` object undefined, we're in NodeJs so assume there is a `module` object with an `exports` property | ||
* 2. If `window` object defined, we're in browser | ||
* 2.a. If `module` object predefined, use it | ||
* 2.b. If `module` object undefined, create a `ListDragon` object | ||
* | ||
* After the IIFE returns: | ||
* Because it always returns undefined, the expression after the || will always execute: | ||
* 1. If `module` object defined, then we're in NodeJs so we're done | ||
* 2. If `module` object undefined, then we're in browser so redefine`window.ListDragon` as its `exports` object | ||
* Because it always returns undefined, the expression after the || will execute: | ||
* 1. If `window` object undefined, then we're in NodeJs so we're done | ||
* 2. If `window` object defined, then we're in browser | ||
* 2.a. If `module` object predefined, we're done; results are in `moudule.exports` | ||
* 2.b. If `module` object undefined, redefine`ListDragon` to be the `ListDragon.exports` object | ||
*/ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
65321
1224
1