Skip to content

Commit

Permalink
fix(normalize): fix normalized name of intl
Browse files Browse the repository at this point in the history
fix the name referenced when dynamically importing intl
  • Loading branch information
zewa666 committed Mar 3, 2016
1 parent 67e7f9d commit f8701c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aurelia-i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function configure(frameworkConfig, cb): Promise<void> {
let loader = frameworkConfig.container.get(Loader);

return loader.normalize('aurelia-i18n').then((i18nName) => {
return loader.normalize('Intl.js', i18nName).then((intlName) => {
return loader.normalize('intl', i18nName).then((intlName) => {
return loader.loadModule(intlName).then((poly) => {
window.Intl = poly;
return registerI18N(frameworkConfig, cb);
Expand Down

0 comments on commit f8701c5

Please sign in to comment.