refactor(browser): merge static & dynamic platforms

This commit is contained in:
Victor Berchet
2016-05-19 14:31:21 -07:00
parent 6c99746f0b
commit 54f8308999
163 changed files with 443 additions and 3958 deletions

View File

@ -1,7 +1,5 @@
import {ROUTER_PROVIDERS} from '@angular/router-deprecated';
import {bootstrapApp} from '@angular/platform-browser-dynamic';
import {WORKER_APP_LOCATION_PROVIDERS} from '@angular/platform-browser';
import {bootstrapApp, WORKER_APP_LOCATION_PROVIDERS} from '@angular/platform-browser';
import {HashLocationStrategy, LocationStrategy} from '@angular/common';
import {App} from './index_common';

View File

@ -1,6 +1,4 @@
import {bootstrapRender} from '@angular/platform-browser-dynamic';
import {WORKER_RENDER_LOCATION_PROVIDERS} from '@angular/platform-browser';
import {bootstrapRender, WORKER_RENDER_LOCATION_PROVIDERS} from '@angular/platform-browser';
export function main() {
bootstrapRender("loader.js", WORKER_RENDER_LOCATION_PROVIDERS);

View File

@ -15,7 +15,6 @@ System.config({
'@angular/compiler': {main: 'index.js', defaultExtension: 'js'},
'@angular/common': {main: 'index.js', defaultExtension: 'js'},
'@angular/platform-browser': {main: 'index.js', defaultExtension: 'js'},
'@angular/platform-browser-dynamic': {main: 'index.js', defaultExtension: 'js'},
'@angular/router': {main: 'index.js', defaultExtension: 'js'},
'@angular/router-deprecated': {main: 'index.js', defaultExtension: 'js'},
'rxjs': {