mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v3.6.0.
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
var isNative = require('./lang/isNative');
|
||||
|
||||
/** Used to detect functions containing a `this` reference. */
|
||||
var reThis = /\bthis\b/;
|
||||
|
||||
/** Used for native method references. */
|
||||
var objectProto = Object.prototype;
|
||||
|
||||
@@ -31,7 +26,7 @@ var support = {};
|
||||
* @memberOf _.support
|
||||
* @type boolean
|
||||
*/
|
||||
support.funcDecomp = !isNative(global.WinRTError) && reThis.test(function() { return this; });
|
||||
support.funcDecomp = /\bthis\b/.test(function() { return this; });
|
||||
|
||||
/**
|
||||
* Detect if `Function#name` is supported (all but IE).
|
||||
|
||||
Reference in New Issue
Block a user