mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Intro: Pass window to intro if available, for browserify
Closes gh-1476
This commit is contained in:
parent
3118f58c46
commit
6de1d973a4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user