array-keys
Advanced tools
Comparing version 1.1.0 to 1.1.1
/*! | ||
* array-keys | ||
* version 1.1.0 | ||
* version 1.1.1 | ||
* http://github.com/silverbucket/array-keys | ||
@@ -19,5 +19,12 @@ * | ||
(function (global, factory, undefined) { | ||
(function () { | ||
if ( typeof module === 'object' && typeof module.exports === 'object' ) { | ||
module.exports = (global.document) ? factory(global) : factory({}); | ||
} else { | ||
factory(global); | ||
} | ||
}((typeof window !== 'undefined') ? window : this, function (scope, undefined) { | ||
function ArrayKeys(p) { | ||
@@ -78,12 +85,11 @@ if (typeof p !== 'object') { p = {}; } | ||
if (typeof window === 'object') { | ||
window.ArrayKeys = ArrayKeys; | ||
} else if (typeof (define) === 'function' && define.amd) { | ||
define([], function () { return ArrayKeys; }); | ||
} else { | ||
try { | ||
module.exports = ArrayKeys; | ||
} catch (e) {} | ||
if ( typeof define === 'function' && define.amd ) { | ||
define([], function() { | ||
return ArrayKeys; | ||
}); | ||
} | ||
})(); | ||
scope.ArrayKeys = ArrayKeys; | ||
return ArrayKeys; | ||
})); |
{ | ||
"name": "array-keys", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "a simple interface to manage large arrays of objects easily", | ||
@@ -5,0 +5,0 @@ "license": "LGPL", |
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
15459
7
166