@starnetbih/app-configuration
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "@starnetbih/app-configuration", | ||
"description": "An Aurelia 2 basic app-settings plugin (alpha)", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -1,3 +0,3 @@ | ||
import { IContainer, IRegistry, noop } from '@aurelia/kernel'; | ||
import { AppTask, DI, Registration } from 'aurelia'; | ||
import { IContainer, IRegistry, noop, DI, Registration } from '@aurelia/kernel'; | ||
import { AppTask } from '@aurelia/runtime-html'; | ||
import { IHttpClient } from '@aurelia/fetch-client'; | ||
@@ -13,3 +13,3 @@ | ||
File: string; | ||
} | ||
@@ -24,3 +24,3 @@ export const IAppConfigurationSettings = DI.createInterface<IAppConfigurationSettings>('IAppConfigurationSettings'); | ||
Registration.singleton(IAppConfigurationSettings, this).register(container); | ||
} | ||
} | ||
} | ||
@@ -44,3 +44,3 @@ | ||
AppTask.beforeCreate(() => settingsProvider(ctn.get(IAppConfigurationSettings)) as void) | ||
); | ||
); | ||
}, | ||
@@ -47,0 +47,0 @@ customize(cb: AppConfigurationSettingsProvider, regs?: IRegistry[]) { |
declare module '*.html' { | ||
import { IContainer, PartialBindableDefinition } from 'aurelia'; | ||
import { IContainer, PartialBindableDefinition } from '@aurelia/kernel'; | ||
export const name: string; | ||
@@ -4,0 +4,0 @@ export const template: string; |
23784