fix(angular2): remove angular2.ts module
				
					
				
			Closes #5815 Closes #5844 BREAKING CHANGE: `angular2/angular2` was removed. Use the correct import from one of the barrels. E.g. `angular2/core`, `angular2/platform/browser`, `angular2/common`, … Note: This only applies to JavaScript, Dart is not changed.
This commit is contained in:
		
							parent
							
								
									20c6eebb29
								
							
						
					
					
						commit
						200dc00dbb
					
				| @ -1,8 +0,0 @@ | ||||
| export * from './common'; | ||||
| export * from './core'; | ||||
| export * from './instrumentation'; | ||||
| export * from './platform/browser'; | ||||
| export * from './src/platform/dom/dom_adapter'; | ||||
| export * from './src/platform/dom/events/event_manager'; | ||||
| export * from './upgrade'; | ||||
| export * from './compiler'; | ||||
| @ -124,7 +124,7 @@ module.exports = function makeNodeTree(projects, destinationPath) { | ||||
|   // because of the duplicate definitions.
 | ||||
|   // TODO(alexeagle): remove this when typescript releases a fix
 | ||||
|   nodeTree = replace(nodeTree, { | ||||
|     files: ['angular2/core.d.ts', 'angular2/angular2.d.ts'], | ||||
|     files: ['angular2/core.d.ts'], | ||||
|     patterns: [{match: /$/, replacement: 'import "./manual_typings/globals-es6.d.ts";\r\n'}] | ||||
|   }); | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| import {Component, bootstrap, View} from 'angular2/angular2' | ||||
| import {Component, View} from 'angular2/core'; | ||||
| import {bootstrap} from 'angular2/platform/browser'; | ||||
| 
 | ||||
| @Component({ | ||||
|   selector: 'my-app' | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| import {Component, bootstrap, View} from 'angular2/angular2'; | ||||
| import {Component, View} from 'angular2/core'; | ||||
| import {bootstrap} from 'angular2/platform/browser'; | ||||
| import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from 'angular2/router'; | ||||
| 
 | ||||
| @Component({ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user