From f8701c5543a774950fb1b98e9022b0542f8dee8e Mon Sep 17 00:00:00 2001 From: vsoftic Date: Thu, 3 Mar 2016 16:41:03 +0100 Subject: [PATCH] fix(normalize): fix normalized name of intl fix the name referenced when dynamically importing intl --- src/aurelia-i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aurelia-i18n.js b/src/aurelia-i18n.js index d5f96f72..8b98753a 100644 --- a/src/aurelia-i18n.js +++ b/src/aurelia-i18n.js @@ -54,7 +54,7 @@ function configure(frameworkConfig, cb): Promise { 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);