Skip to content
Permalink
Browse files
Intro: Pass window to intro if available, for browserify
Closes gh-1476
  • Loading branch information
ForbesLindesay authored and dmethvin committed Jan 10, 2014
1 parent 3118f58 commit 6de1d97
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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

0 comments on commit 6de1d97

Please sign in to comment.