Bump to v4.16.0.

This commit is contained in:
John-David Dalton
2016-09-17 22:28:43 -07:00
parent 28663c1e27
commit 94ac73824f
102 changed files with 526 additions and 320 deletions

View File

@@ -19,7 +19,7 @@ import isPlainObject from './isPlainObject.js';
* // => false
*/
function isElement(value) {
return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);
return value != null && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);
}
export default isElement;