lodash.support
Advanced tools
Comparing version 3.0.3 to 3.0.4
26
index.js
/** | ||
* lodash 3.0.3 (Custom Build) <https://lodash.com/> | ||
* lodash 3.0.4 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
@@ -10,5 +10,2 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Used to detect DOM support. */ | ||
var document = (document = global.window) ? document.document : null; | ||
/** | ||
@@ -23,23 +20,2 @@ * An object environment feature flags. | ||
(function(x) { | ||
var Ctor = function() { this.x = x; }, | ||
object = { '0': x, 'length': x }, | ||
props = []; | ||
Ctor.prototype = { 'valueOf': x, 'y': x }; | ||
for (var key in new Ctor) { props.push(key); } | ||
/** | ||
* Detect if the DOM is supported. | ||
* | ||
* @memberOf _.support | ||
* @type boolean | ||
*/ | ||
try { | ||
support.dom = document.createDocumentFragment().nodeType === 11; | ||
} catch(e) { | ||
support.dom = false; | ||
} | ||
}(1, 0)); | ||
module.exports = support; |
{ | ||
"name": "lodash.support", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "The modern build of lodash’s `_.support` as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.support v3.0.3 | ||
# lodash.support v3.0.4 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.support` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#support) or [package source](https://github.com/lodash/lodash/blob/3.0.3-npm-packages/lodash.support) for more details. | ||
See the [documentation](https://lodash.com/docs#support) or [package source](https://github.com/lodash/lodash/blob/3.0.4-npm-packages/lodash.support) for more details. |
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
3240
17