refactor: change provide(...) for {provide: ...}

- provide() is deprecated,
- {} syntax is required by the offline compiler
This commit is contained in:
Victor Berchet
2016-06-02 17:30:40 -07:00
parent 27a47e7841
commit a6ad61d83e
128 changed files with 676 additions and 728 deletions

View File

@ -1,11 +1,6 @@
import {bootstrap} from '@angular/platform-browser';
import {
Component,
Directive,
ViewContainerRef,
bind,
provide,
Provider,
enableProdMode
} from '@angular/core';
import {NgIf} from '@angular/common';
@ -23,7 +18,7 @@ import {
} from '@angular/testing/src/benchmark_util';
import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
function createProviders(): Provider[] {
function createProviders(): any[] {
return [];
}