+ Precede the call to `new ReflectionCapabilities()` with our generated code which populates the reflection map statically. + Add the import of our generated code. + Once we are generating all necessary code, we will remove the import of reflection_capabilities.dart and the instantiation of `ReflectionCapabilities`, cutting the dependency on dart:mirrors. Closes #761
		
			
				
	
	
		
			11 lines
		
	
	
		
			271 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			271 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| library web_foo;
 | |
| 
 | |
| import 'package:angular2/src/core/application.dart';
 | |
| import 'package:angular2/src/reflection/reflection_capabilities.dart';
 | |
| import 'bar.dart';
 | |
| 
 | |
| void main() {
 | |
|   reflector.reflectionCapabilities = new ReflectionCapabilities();
 | |
|   bootstrap(MyComponent);
 | |
| }
 |