-
Notifications
You must be signed in to change notification settings - Fork 603
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
Internet Explorer Syntax error #1496
Comments
This should actually be transpiled by Babel. Which version of IE do you see the error in? What does your |
For a vanilla
the transpiled line becomes
making it the sole remaining splat in the output. Not sure if this one is on Babel. |
I think this relates to _warn() {
warn(...arguments);
} becomes _warn: function _warn() {
(true && Ember.warn(...arguments));
} while in production it becomes _warn: function _warn() {
(false && Ember.warn(...arguments));
} which effectively disables the call to _warn: function _warn() {
_debug.warn.apply(undefined, arguments);
} which seems correct. To me this looks like a bug in the AST transform doing this special handling of |
Yay, I just spent the last 4 hours tracking this down to pin point it to ember-simple-auth from 1.4.0 to 1.4.1. I came here to report it but I guess I was a little late. IE 10 and 11 for us. |
😩 sorry for not getting that upstream issue fixed already, haven't had the time to dig into it yet 😭 |
Also getting this with phantomjs in our automated tests |
@marcoow Would you be open to a PR that directly calls |
I've opened a PR to work around the issue for now (#1502) |
this error has killed my day ( |
Once CI is finished this will be released as |
Hello, this addon has a little issue when running a project including it in Internet Explorer.
The problem is browser says in this line:
https://github.com/simplabs/ember-simple-auth/blob/50adfeb515f5983287695d0e3eeba814c308d79f/addon/session-stores/cookie.js#L298
there is a Syntax error.
So, the project never runs.
Thank you.
The text was updated successfully, but these errors were encountered: