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

@ -57,10 +57,6 @@ System.config({
main: 'index.js',
defaultExtension: 'js'
},
'@angular/platform-browser-dynamic': {
main: 'index.js',
defaultExtension: 'js'
},
'@angular/platform-server': {
main: 'index.js',
defaultExtension: 'js'
@ -73,11 +69,11 @@ System.config({
// method and kick off Karma (Jasmine).
System.import('@angular/core/testing')
.then(function(coreTesting){
return System.import('@angular/platform-browser-dynamic/testing')
return System.import('@angular/platform-browser/testing')
.then(function(browserTesting){
coreTesting.setBaseTestProviders(
browserTesting.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,
browserTesting.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS
browserTesting.TEST_BROWSER_PLATFORM_PROVIDERS,
browserTesting.TEST_BROWSER_APPLICATION_PROVIDERS
);
});
})