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 8, 2014
1 parent 3118f58 commit 6de1d973a436282af7dfe3072924016c3cdc1984
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/intro.js
@@ -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.
You can’t perform that action at this time.