mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Avoid issues with variable window.
This commit is contained in:
@@ -485,8 +485,7 @@
|
||||
stringProto = String.prototype;
|
||||
|
||||
/** Used to detect DOM support */
|
||||
var window = context.window,
|
||||
document = window && window.document;
|
||||
var document = context.window && context.window.document;
|
||||
|
||||
/** Used to restore the original `_` reference in `noConflict` */
|
||||
var oldDash = context._;
|
||||
|
||||
Reference in New Issue
Block a user