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

Breaks in Meteor using IE8 due to export.js #2306

Closed
abecks opened this issue Apr 6, 2015 · 2 comments
Closed

Breaks in Meteor using IE8 due to export.js #2306

abecks opened this issue Apr 6, 2015 · 2 comments

Comments

@abecks
Copy link

abecks commented Apr 6, 2015

In meteor/export.js:

// moment.js makes `moment` global on the window (or global) object, while Meteor expects a file-scoped global variable
moment = this.moment;
delete this.moment;

the delete this.moment call causes an error in IE8 and breaks Meteor applications.

Should be surrounded with a try/catch as per this StackOverflow

@abecks abecks mentioned this issue Apr 6, 2015
@yim1990
Copy link

yim1990 commented Apr 16, 2015

I had a same problem.

@icambron
Copy link
Member

icambron commented May 2, 2015

Fixed in 606d7cf

@icambron icambron closed this as completed May 2, 2015
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