Skip to content
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

Doesn't work in IE11 #24

Closed
matthewDDennis opened this issue Oct 14, 2015 · 6 comments
Closed

Doesn't work in IE11 #24

matthewDDennis opened this issue Oct 14, 2015 · 6 comments

Comments

@matthewDDennis
Copy link

Runs fine in Firefox, but on IE11/win7

SCRIPT438: Object doesn't support property or method 'keys'
File: angular2.dev.js, Line: 4030, Column: 5
Object doesn't support property or method 'keys'
    Evaluating http://127.0.0.1:8080/src/app/bootstrap.js
    Error loading http://127.0.0.1:8080/src/app/bootstrap.js
@pkozlowski-opensource
Copy link

@matthewDDennis what is the version of ng2 that you've got in your setup? Could you please share with us what you've got in File: angular2.dev.js, Line: 4030, Column: 5 on your machine?

@matthewDDennis
Copy link
Author

Checked on my Win10 machine and it works on Edge.

@matthewDDennis
Copy link
Author

Found the issue. I had to add es6-shim.js before system.js. Strange, as I thought this was incorporated into system.js.

@pkozlowski-opensource
Copy link

Nope, system.js has only very minimal polyfill for ES5 things like Array.indexOf - if you want to run your code in a browser that doesn't support ES6 (like IE11) you need es6 polyfill (es6-shim.js is one of them)

@johnpapa
Copy link
Owner

johnpapa commented Nov 1, 2015

yep. you need es6-shim for that.

@johnpapa
Copy link
Owner

johnpapa commented Nov 1, 2015

updated in a recent commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants