Permalink
Browse files

Revised wrappers sandbox the window and document references

  • Loading branch information...
1 parent 254fb96 commit 387d8c6e911e3b6d0b6ee857313b16e8a4ec714d Adam Moore committed Apr 26, 2010
Showing 685 changed files with 2,456 additions and 1,086 deletions.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
@@ -1,6 +1,8 @@
YUI.add('yui2-connection', function(Y) {
if (Y.YUI2) {
- var YAHOO = Y.YUI2;
+ var YAHOO = Y.YUI2,
+ window = Y.config.win,
+ document = Y.config.doc;
}
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
@@ -1,6 +1,8 @@
YUI.add('yui2-yahoo', function(Y) {
if (Y.YUI2) {
- var YAHOO = Y.YUI2;
+ var YAHOO = Y.YUI2,
+ window = Y.config.win,
+ document = Y.config.doc;
}
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 387d8c6

Please sign in to comment.