Remove thisGlobal use.

This commit is contained in:
John-David Dalton
2016-07-12 15:15:29 -07:00
parent 8c9073308a
commit 02c4d60861

View File

@@ -366,11 +366,8 @@
/** Detect free variable `self`. */ /** Detect free variable `self`. */
var freeSelf = checkGlobal(typeof self == 'object' && self); var freeSelf = checkGlobal(typeof self == 'object' && self);
/** Detect `this` as the global object. */
var thisGlobal = checkGlobal(typeof this == 'object' && this);
/** Used as a reference to the global object. */ /** Used as a reference to the global object. */
var root = freeGlobal || freeSelf || thisGlobal || Function('return this')(); var root = freeGlobal || freeSelf || Function('return this')();
/** Detect free variable `exports`. */ /** Detect free variable `exports`. */
var freeExports = freeGlobal && typeof exports == 'object' && exports; var freeExports = freeGlobal && typeof exports == 'object' && exports;