Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Internet Explorer 8 and Browserify #90

Closed
jerrysu opened this issue Jan 12, 2015 · 1 comment · Fixed by #91
Closed

Internet Explorer 8 and Browserify #90

jerrysu opened this issue Jan 12, 2015 · 1 comment · Fixed by #91
Labels

Comments

@jerrysu
Copy link

jerrysu commented Jan 12, 2015

Simply using require('intl-messageformat'); in a bundle that is browserified results in JavaScript errors in IE8. The errors occur as a result of the keyword default being used as a property for the modules that use esnext.

I'm probably going to workaround this by including IntlMessageFormat on window through the bower package, but I haven't quite figured this out with intl-format-cache.

I'm curious if this is a known issue or if there is some way to bundle this package with browserify and have it work in IE8.

@ericf
Copy link
Collaborator

ericf commented Jan 13, 2015

Good catch! We don't have automated tests for Browserify, otherwise this would have been caught. I'll update all of the packages' index.js files that are used by browserify to work with an ES3 environment.

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

Successfully merging a pull request may close this issue.

2 participants