Commit 6de1d973 authored by Forbes Lindesay's avatar Forbes Lindesay Committed by Dave Methvin

Intro: Pass window to intro if available, for browserify

Closes gh-1476
parent 3118f58c
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
factory( global ); factory( global );
} }
// Pass this, window may not be defined yet // Pass this if window is not defined yet
}(this, function( window, noGlobal ) { }(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
// Can't do this because several apps including ASP.NET trace // Can't do this because several apps including ASP.NET trace
// the stack via arguments.caller.callee and Firefox dies if // 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