mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Bump to v4.14.0.
This commit is contained in:
12
_root.js
12
_root.js
@@ -1,15 +1,9 @@
|
||||
import checkGlobal from './_checkGlobal.js';
|
||||
|
||||
/** Detect free variable `global` from Node.js. */
|
||||
var freeGlobal = checkGlobal(typeof global == 'object' && global);
|
||||
import freeGlobal from './_freeGlobal.js';
|
||||
|
||||
/** Detect free variable `self`. */
|
||||
var freeSelf = checkGlobal(typeof self == 'object' && self);
|
||||
|
||||
/** Detect `this` as the global object. */
|
||||
var thisGlobal = checkGlobal(typeof this == 'object' && this);
|
||||
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
||||
|
||||
/** Used as a reference to the global object. */
|
||||
var root = freeGlobal || freeSelf || thisGlobal || Function('return this')();
|
||||
var root = freeGlobal || freeSelf || Function('return this')();
|
||||
|
||||
export default root;
|
||||
|
||||
Reference in New Issue
Block a user