style(lint): re-format modules/@angular
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import {Component, Attribute, Directive, Pipe} from '@angular/core';
|
||||
import {Attribute, Component, Directive, Pipe} from '@angular/core';
|
||||
|
||||
var CustomDirective: Function;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {Component, createPlatform, coreLoadAndBootstrap, ReflectiveInjector} from '@angular/core';
|
||||
import {BROWSER_PLATFORM_PROVIDERS, BROWSER_APP_PROVIDERS} from '@angular/platform-browser';
|
||||
import {Component, ReflectiveInjector, coreLoadAndBootstrap, createPlatform} from '@angular/core';
|
||||
import {BROWSER_APP_PROVIDERS, BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser';
|
||||
|
||||
var appProviders: any[] = [];
|
||||
|
||||
@ -9,6 +9,7 @@ class MyApp {
|
||||
}
|
||||
|
||||
var platform = createPlatform(ReflectiveInjector.resolveAndCreate(BROWSER_PLATFORM_PROVIDERS));
|
||||
var appInjector = ReflectiveInjector.resolveAndCreate([BROWSER_APP_PROVIDERS, appProviders], platform.injector);
|
||||
var appInjector =
|
||||
ReflectiveInjector.resolveAndCreate([BROWSER_APP_PROVIDERS, appProviders], platform.injector);
|
||||
coreLoadAndBootstrap(MyApp, appInjector);
|
||||
// #enddocregion
|
||||
|
Reference in New Issue
Block a user