Bump to v4.1.1.

This commit is contained in:
John-David Dalton
2016-02-02 23:12:34 -08:00
parent dcf84f0e62
commit afaae9f972
588 changed files with 4999 additions and 11596 deletions

View File

@@ -1,4 +1,4 @@
# lodash.iselement v4.1.0
# lodash.iselement v4.1.1
The [lodash](https://lodash.com/) method `_.isElement` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var isElement = require('lodash.iselement');
```
See the [documentation](https://lodash.com/docs#isElement) or [package source](https://github.com/lodash/lodash/blob/4.1.0-npm-packages/lodash.iselement) for more details.
See the [documentation](https://lodash.com/docs#isElement) or [package source](https://github.com/lodash/lodash/blob/4.1.1-npm-packages/lodash.iselement) for more details.

View File

@@ -30,7 +30,7 @@ function isHostObject(value) {
}
/**
* Creates a function that invokes `func` with its first argument transformed.
* Creates a unary function that invokes `func` with its argument transformed.
*
* @private
* @param {Function} func The function to wrap.
@@ -44,10 +44,11 @@ function overArg(func, transform) {
}
/** Used for built-in method references. */
var objectProto = Object.prototype;
var funcProto = Function.prototype,
objectProto = Object.prototype;
/** Used to resolve the decompiled source of functions. */
var funcToString = Function.prototype.toString;
var funcToString = funcProto.toString;
/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;
@@ -57,22 +58,13 @@ var objectCtorString = funcToString.call(Object);
/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/
var objectToString = objectProto.toString;
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeGetPrototype = Object.getPrototypeOf;
/**
* Gets the `[[Prototype]]` of `value`.
*
* @private
* @param {*} value The value to query.
* @returns {null|Object} Returns the `[[Prototype]]`.
*/
var getPrototype = overArg(nativeGetPrototype, Object);
/** Built-in value references. */
var getPrototype = overArg(Object.getPrototypeOf, Object);
/**
* Checks if `value` is likely a DOM element.
@@ -82,8 +74,7 @@ var getPrototype = overArg(nativeGetPrototype, Object);
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a DOM element,
* else `false`.
* @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
* @example
*
* _.isElement(document.body);
@@ -133,8 +124,7 @@ function isObjectLike(value) {
* @since 0.8.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a plain object,
* else `false`.
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
* @example
*
* function Foo() {

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.iselement",
"version": "4.1.0",
"version": "4.1.1",
"description": "The lodash method `_.isElement` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",