chore(transformers): remove reflector parameter from initReflector signature
Remove reflector parameter from initReflector method to simplify ng_deps for reflection initialization. It wasn't used and was added for testability, but wasn't used. This keeps the interface simplier.
This commit is contained in:
@@ -16,7 +16,7 @@ import 'package:angular2/src/reflection/reflection.dart';
|
||||
import 'package:angular2/src/reflection/debug_reflection_capabilities.dart';import 'index.ng_deps.dart' as ngStaticInit0;
|
||||
|
||||
void main() {
|
||||
reflector.reflectionCapabilities = new ReflectionCapabilities();ngStaticInit0.initReflector(reflector);
|
||||
reflector.reflectionCapabilities = new ReflectionCapabilities();ngStaticInit0.initReflector();
|
||||
bootstrap(MyComponent);
|
||||
}
|
||||
""";
|
||||
|
||||
Reference in New Issue
Block a user