refactor(dart/transform): Minor renames
Rename `setupReflection` => `initReflector` Rename `TemplateComplier` => `TemplateCompiler` Closes #1180
This commit is contained in:
+1
-1
@@ -2,6 +2,6 @@ Tests that the reflection removal step:
|
||||
1. Comments out the import of reflection_capabilities.dart
|
||||
2. Comments out the instantiation of `ReflectionCapabilities`
|
||||
3. Adds the appropriate import.
|
||||
4. Adds the call to `setupReflection`
|
||||
4. Adds the call to `initReflector`
|
||||
5. Does not change line numbers in the source.
|
||||
6. Makes minimal changes to source offsets.
|
||||
+1
-1
@@ -16,7 +16,7 @@ import 'package:angular2/src/reflection/reflection.dart';
|
||||
/*import 'package:angular2/src/reflection/reflection_capabilities.dart';*/import 'index.ng_deps.dart' as ngStaticInit;
|
||||
|
||||
void main() {
|
||||
/*reflector.reflectionCapabilities = new ReflectionCapabilities();*/ngStaticInit.setupReflection(reflector);
|
||||
/*reflector.reflectionCapabilities = new ReflectionCapabilities();*/ngStaticInit.initReflector(reflector);
|
||||
bootstrap(MyComponent);
|
||||
}
|
||||
""";
|
||||
|
||||
Reference in New Issue
Block a user