mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Fix bizarro _.isElement test.
This commit is contained in:
@@ -5039,7 +5039,7 @@
|
|||||||
|
|
||||||
test('should use a stronger check in browsers', 2, function() {
|
test('should use a stronger check in browsers', 2, function() {
|
||||||
var support = _.support,
|
var support = _.support,
|
||||||
expected = !(support.dom && support.nodeClass);
|
expected = !(support.dom && _.result(support, 'nodeClass', true));
|
||||||
|
|
||||||
strictEqual(_.isElement(new Element), expected);
|
strictEqual(_.isElement(new Element), expected);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user