globalizejs / globalizejs/globalize-compiler
Compiled .js fails with "ReferenceError: messageFormat is not defined"
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Version 1.1.1 of globalize-compiler generates code that produces the following error:
```
compiled-formatters.js:53 Uncaught ReferenceError: messageFormat is not defined
at compiled-formatters.js:53
at compiled-formatters.js:15
at compiled-formatters.js:17
```
This does not occur with version 1.0.0.
The easiest way to reproduce this is to set up and run globalize's example code: https://github.com/globalizejs/globalize/tree/master/examples/globalize-compiler
Follow the instructions for production.html, start the server, and load in the browser (I'm using Chrome). Check the console in the browser's dev tools, and you'll see the error.
Contributor guide
Assessment
This issue has not been assessed yet.