refactor(dart/transform): Minor renames

Rename `setupReflection` => `initReflector`
Rename `TemplateComplier` => `TemplateCompiler`

Closes #1180
This commit is contained in:
Tim Blasi
2015-04-03 12:33:10 -07:00
parent a6736ff9f2
commit bc909d1d0f
36 changed files with 53 additions and 53 deletions
@@ -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.
@@ -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);
}
""";