mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Add tests to check that _.support properties aren't minified.
This commit is contained in:
16
dist/lodash.compat.js
vendored
16
dist/lodash.compat.js
vendored
@@ -669,14 +669,6 @@
|
||||
for (var prop in new ctor) { props.push(prop); }
|
||||
for (prop in arguments) { }
|
||||
|
||||
/**
|
||||
* Detect if `arguments` objects are `Object` objects (all but Narwhal and Opera < 10.5).
|
||||
*
|
||||
* @memberOf _.support
|
||||
* @type boolean
|
||||
*/
|
||||
support.argsObject = arguments.constructor == Object && !(arguments instanceof Array);
|
||||
|
||||
/**
|
||||
* Detect if an `arguments` object's [[Class]] is resolvable (all but Firefox < 4, IE < 9).
|
||||
*
|
||||
@@ -685,6 +677,14 @@
|
||||
*/
|
||||
support.argsClass = toString.call(arguments) == argsClass;
|
||||
|
||||
/**
|
||||
* Detect if `arguments` objects are `Object` objects (all but Narwhal and Opera < 10.5).
|
||||
*
|
||||
* @memberOf _.support
|
||||
* @type boolean
|
||||
*/
|
||||
support.argsObject = arguments.constructor == Object && !(arguments instanceof Array);
|
||||
|
||||
/**
|
||||
* Detect if `name` or `message` properties of `Error.prototype` are
|
||||
* enumerable by default. (IE < 9, Safari < 5.1)
|
||||
|
||||
Reference in New Issue
Block a user