Skip to content

Commit

Permalink
JasonLeyba: Closure's goog.userAgent package assumes goog.global will…
Browse files Browse the repository at this point in the history
… always refer to

window. This is not the case with the compiled js_fragments since we explicitly define them
such that goog.global != window.  Therefore, we must make sure to copy window.navigator
into the custom scope used for the fragments, or any goog.userAgent checks will not work
properly.

Fixes issue 1333.

r11635
  • Loading branch information
jleyba committed Mar 8, 2011
1 parent cbddcd7 commit a71497e
Show file tree
Hide file tree
Showing 4 changed files with 3,932 additions and 3,888 deletions.
Loading

0 comments on commit a71497e

Please sign in to comment.