Commit eb827097 authored by Forbes Lindesay's avatar Forbes Lindesay Committed by Dave Methvin

Intro: Pass window to intro if available, for browserify

Closes gh-1476
(cherry picked from commit 6de1d973)
parent 551c12c2
......@@ -34,8 +34,8 @@
factory( global );
}
// Pass this, window may not be defined yet
}(this, function( window, noGlobal ) {
// Pass this if window is not defined yet
}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
// Can't do this because several apps including ASP.NET trace
// the stack via arguments.caller.callee and Firefox dies if
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment