Avoid issues with variable window.

This commit is contained in:
John-David Dalton
2013-12-14 02:19:42 -08:00
parent 7b4dda9c73
commit 9c65a82430
5 changed files with 91 additions and 94 deletions

View File

@@ -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._;