Skip to content

Commit

Permalink
Patch Closure Compiler to fix polyfill+wrapper
Browse files Browse the repository at this point in the history
When using a module wrapper, polyfills inserted by the compiler do not
go to "window", so all internal references to "Symbol" from those
polyfills must go through "$jscomp.global".  This patches the compiler
to fix this issue.

Upstream: google/closure-compiler#2957
Closes shaka-project#1455

Change-Id: Ifb9a4f651f31c3099d660c4b818da8457d89dbbc
  • Loading branch information
joeyparrish authored and Isaev Ivan committed Jun 4, 2018
1 parent 6a1b89c commit e754f12
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions third_party/SUMMARY.txt
@@ -1,12 +1,10 @@
closure/compiler.jar
The closure compiler, v20171203, by Google.
Apache v2.0 license.
https://github.com/google/closure-compiler

closure/linter.jar
The closure compiler linter, v20171203, by Google.
The closure compiler, v20180402 (modified), by Google.
Apache v2.0 license.
https://github.com/google/closure-compiler
Local mods:
- Fixed issues with Symbol polyfill interactions with output wrappers
- https://github.com/google/closure-compiler/issues/2957

closure/goog
The closure library (modified), possibly v20150315, by Google.
Expand Down

0 comments on commit e754f12

Please sign in to comment.