-
Notifications
You must be signed in to change notification settings - Fork 26.4k
fix(browser): Moving to es6-shim broke most browsers #4219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2e707a1
to
655a4c0
Compare
Benchmarks are broken and need to be fixed, but at least unit tests are now running normally (with real errors to fix ...) |
es6-shim.js must be loaded first
a623439
to
b344ba7
Compare
b344ba7
to
e6ffe44
Compare
@@ -351,3 +351,24 @@ export function setValueOnPath(global: any, path: string, value: any) { | |||
} | |||
obj[parts.shift()] = value; | |||
} | |||
|
|||
// TODO(mlaval): remove after https://github.com/paulmillr/es6-shim/issues/360 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like issue #360 is closed and Symbol.iterator
won't be exposed. I don't like that this ties us up to es6-shim
, which means angular2 bundle can't be used with core.js
. Change the comment to specify that this workaround is es6-shim
specific. I guess the todo is to add a similar work around for core.js
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
core-js
defines Symbol.iterator
, so it shouldn't be a problem.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes #4216
For the 2 issues:
Symbol.iterator
is not available.