david-mark-llc / jessie

Javascript cross-browser library builder enabling (real) progressive enhancement
http://jessie.herokuapp.com
39 stars 13 forks source link

Reference the window and document object directly #260

Closed andrewscode closed 9 years ago

andrewscode commented 9 years ago

Reference the window and document object directly as the globalDocument variable is not available when the deferUntilReady method is called

david-mark commented 9 years ago

Would prefer global.window and global.document. Both host objects are referenced by the (presumably Global) object referenced by the "global" variable.