Skip to content

Compiled .js fails with "ReferenceError: messageFormat is not defined" #45

Open
@dharrie-hbo

Description

@dharrie-hbo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions