mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Intro: Pass window to intro if available, for browserify
Closes gh-1476
(cherry picked from commit 6de1d973a4
)
This commit is contained in:
parent
551c12c242
commit
eb827097b8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user