mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Bump to v4.14.0.
This commit is contained in:
12
_root.js
12
_root.js
@@ -1,16 +1,10 @@
|
||||
define(['./_checkGlobal'], function(checkGlobal) {
|
||||
|
||||
/** Detect free variable `global` from Node.js. */
|
||||
var freeGlobal = checkGlobal(typeof global == 'object' && global);
|
||||
define(['./_freeGlobal'], function(freeGlobal) {
|
||||
|
||||
/** 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')();
|
||||
|
||||
return root;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user