mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Bump to v3.6.0.
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
import isNative from './lang/isNative';
|
||||
import root from './internal/root';
|
||||
|
||||
/** Used to detect functions containing a `this` reference. */
|
||||
var reThis = /\bthis\b/;
|
||||
|
||||
/** Used for native method references. */
|
||||
var objectProto = Object.prototype;
|
||||
|
||||
@@ -32,7 +28,7 @@ var support = {};
|
||||
* @memberOf _.support
|
||||
* @type boolean
|
||||
*/
|
||||
support.funcDecomp = !isNative(root.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