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

handlebarsIntl is undefined #81

Open
tubia opened this issue Sep 13, 2016 · 0 comments
Open

handlebarsIntl is undefined #81

tubia opened this issue Sep 13, 2016 · 0 comments

Comments

@tubia
Copy link

tubia commented Sep 13, 2016

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.

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

1 participant