Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(index): use PLATFORM.moduleName for globalResources
Browse files Browse the repository at this point in the history
  • Loading branch information
doktordirk committed May 4, 2018
1 parent 9fa7eff commit ec84731
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
28 changes: 14 additions & 14 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ System.config({
"aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.1",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.8.0",
"aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
"aurelia-polyfills": "npm:aurelia-polyfills@1.1.1",
Expand All @@ -34,7 +34,7 @@ System.config({
"npm:aurelia-binding@1.0.9": {
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.8.0",
"aurelia-task-queue": "npm:aurelia-task-queue@1.1.0"
},
"npm:aurelia-bootstrapper@1.0.1": {
Expand All @@ -44,7 +44,7 @@ System.config({
"aurelia-history-browser": "npm:aurelia-history-browser@1.0.0",
"aurelia-loader-default": "npm:aurelia-loader-default@1.0.0",
"aurelia-logging-console": "npm:aurelia-logging-console@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.8.0",
"aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0",
"aurelia-polyfills": "npm:aurelia-polyfills@1.1.1",
"aurelia-router": "npm:aurelia-router@1.0.6",
Expand All @@ -55,7 +55,7 @@ System.config({
},
"npm:aurelia-dependency-injection@1.1.0": {
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0"
"aurelia-pal": "npm:aurelia-pal@1.8.0"
},
"npm:aurelia-event-aggregator@1.0.0": {
"aurelia-logging": "npm:aurelia-logging@1.0.0"
Expand All @@ -66,19 +66,19 @@ System.config({
"aurelia-loader": "npm:aurelia-loader@1.0.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.8.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
"aurelia-task-queue": "npm:aurelia-task-queue@1.1.0",
"aurelia-templating": "npm:aurelia-templating@1.1.1"
},
"npm:aurelia-history-browser@1.0.0": {
"aurelia-history": "npm:aurelia-history@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.0.0"
"aurelia-pal": "npm:aurelia-pal@1.8.0"
},
"npm:aurelia-loader-default@1.0.0": {
"aurelia-loader": "npm:aurelia-loader@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0"
"aurelia-pal": "npm:aurelia-pal@1.8.0"
},
"npm:aurelia-loader@1.0.0": {
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
Expand All @@ -88,13 +88,13 @@ System.config({
"aurelia-logging": "npm:aurelia-logging@1.0.0"
},
"npm:aurelia-metadata@1.0.1": {
"aurelia-pal": "npm:aurelia-pal@1.0.0"
"aurelia-pal": "npm:aurelia-pal@1.8.0"
},
"npm:aurelia-pal-browser@1.0.0": {
"aurelia-pal": "npm:aurelia-pal@1.0.0"
"aurelia-pal": "npm:aurelia-pal@1.8.0"
},
"npm:aurelia-polyfills@1.1.1": {
"aurelia-pal": "npm:aurelia-pal@1.0.0"
"aurelia-pal": "npm:aurelia-pal@1.8.0"
},
"npm:aurelia-route-recognizer@1.1.0": {
"aurelia-path": "npm:aurelia-path@1.1.1"
Expand All @@ -108,7 +108,7 @@ System.config({
"aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0"
},
"npm:aurelia-task-queue@1.1.0": {
"aurelia-pal": "npm:aurelia-pal@1.0.0"
"aurelia-pal": "npm:aurelia-pal@1.8.0"
},
"npm:aurelia-templating-binding@1.0.0": {
"aurelia-binding": "npm:aurelia-binding@1.0.9",
Expand All @@ -121,7 +121,7 @@ System.config({
"aurelia-loader": "npm:aurelia-loader@1.0.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.8.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
"aurelia-task-queue": "npm:aurelia-task-queue@1.1.0",
"aurelia-templating": "npm:aurelia-templating@1.1.1"
Expand All @@ -130,7 +130,7 @@ System.config({
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.8.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
"aurelia-router": "npm:aurelia-router@1.0.6",
"aurelia-templating": "npm:aurelia-templating@1.1.1"
Expand All @@ -141,7 +141,7 @@ System.config({
"aurelia-loader": "npm:aurelia-loader@1.0.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.8.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
"aurelia-task-queue": "npm:aurelia-task-queue@1.1.0"
},
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"aurelia-fetch-client": "^1.0.0",
"aurelia-logging": "^1.0.0",
"aurelia-metadata": "^1.0.0",
"aurelia-pal": "^1.0.0",
"aurelia-pal": "^1.8.0",
"aurelia-path": "^1.0.0",
"aurelia-router": "^1.0.0",
"aurelia-templating-resources": "^1.0.0",
Expand All @@ -60,7 +60,7 @@
"aurelia-fetch-client": "^1.0.0",
"aurelia-logging": "^1.0.0",
"aurelia-metadata": "^1.0.0",
"aurelia-pal": "^1.0.0",
"aurelia-pal": "^1.8.0",
"aurelia-path": "^1.0.0",
"aurelia-router": "^1.0.0",
"aurelia-templating-resources": "^1.0.0",
Expand All @@ -82,7 +82,7 @@
"aurelia-fetch-client": "^1.0.0",
"aurelia-logging": "^1.0.0",
"aurelia-metadata": "^1.0.0",
"aurelia-pal": "^1.0.0",
"aurelia-pal": "^1.8.0",
"aurelia-path": "^1.0.0",
"aurelia-router": "^1.0.0",
"aurelia-templating-resources": "^1.0.0",
Expand All @@ -101,4 +101,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion src/aurelia-authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function configure(frameworkConfig: { container: Container, globalResourc

// after baseConfig was configured
for (let converter of baseConfig.globalValueConverters) {
frameworkConfig.globalResources(`./${converter}`);
frameworkConfig.globalResources(PLATFORM.moduleName(`./${converter}`));
logger.info(`Add globalResources value-converter: ${converter}`);
}
const fetchConfig = frameworkConfig.container.get(FetchConfig);
Expand Down

0 comments on commit ec84731

Please sign in to comment.