Bump to v3.0.4.

This commit is contained in:
jdalton
2015-03-08 20:13:52 -07:00
committed by John-David Dalton
parent 415e8ce0ed
commit 85f4260a84
93 changed files with 299 additions and 533 deletions

View File

@@ -1,4 +1,4 @@
# lodash.support v3.0.3
# lodash.support v3.0.4
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodashs](https://lodash.com/) `_.support` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var support = require('lodash.support');
```
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.

View File

@@ -1,5 +1,5 @@
/**
* 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 ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -7,9 +7,6 @@
* Available under MIT license <https://lodash.com/license>
*/
/** Used to detect DOM support. */
var document = (document = global.window) ? document.document : null;
/**
* An object environment feature flags.
*
@@ -19,25 +16,4 @@ var document = (document = global.window) ? document.document : null;
*/
var support = {};
(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;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.support",
"version": "3.0.3",
"version": "3.0.4",
"description": "The modern build of lodashs `_.support` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",