Skip to content

handlebarsIntl is undefined #81

Open
@tubia

Description

@tubia

Hi all,
I'm experiencing an issue with the implementation of handlebars-intl with some browser. The browser are Internet Explorer 9 (IE 11 works) and Safari.
The problem is that handlebars-intl is not loaded and the console log both for IE and Safari reports that handlebarsIntl is undefined. As declared in the docs, in order to support older browser intl.js must be loaded and this has been done.
This is the way I include the code:

<script src="widget/jquery.js"></script>
<script>
          $.noConflict();
          // Code that uses other library's $ can follow here.   
</script>
<script src="app/semantic.min.js"></script>
<!-- support to Intl for IE and old browsers -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script src="app/handlebars.js"></script>
<script src="app/handlebars-intl.min.js"></script>
<script src="app/locale-data/it.js"></script>
<script src="app/locale-data/en.js"></script>
<script src="app/locale-data/fr.js"></script>
<script src="app/locale-data/es.js"></script>
<script src="app/app.js"></script>

Any suggestion would be greatly appreciated.

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