chore: remove const Provider() in favor of /* @ts2dart_Provider */ {provide:}

This commit is contained in:
Misko Hevery
2016-04-25 22:25:21 -07:00
committed by Martin Probst
parent 3aa322a9c6
commit a8e277b067
59 changed files with 304 additions and 233 deletions

View File

@ -4,6 +4,6 @@ import {HashLocationStrategy, LocationStrategy} from 'angular2/platform/common';
import {App} from "./index_common";
export function main() {
bootstrapApp(
App, [WORKER_APP_ROUTER, new Provider(LocationStrategy, {useClass: HashLocationStrategy})]);
bootstrapApp(App,
[WORKER_APP_ROUTER, {provide: LocationStrategy, useClass: HashLocationStrategy}]);
}