fix(Injector): fix dependencies in static injectors

Closes #784
This commit is contained in:
Victor Berchet 2015-02-25 16:30:30 +01:00 committed by Misko Hevery
parent 94e203b9df
commit 1376e49ea0
3 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ export function setupReflectorForAngular() {
reflector.registerType(LifeCycle, {
"factory": (exHandler, cd) => new LifeCycle(exHandler, cd),
"parameters": [[ExceptionHandler, ChangeDetector]],
"parameters": [[ExceptionHandler], [ChangeDetector]],
"annotations": []
});

View File

@ -125,7 +125,7 @@ function setupReflector() {
reflector.registerType(LifeCycle, {
"factory": (exHandler, cd) => new LifeCycle(exHandler, cd),
"parameters": [[ExceptionHandler, ChangeDetector]],
"parameters": [[ExceptionHandler], [ChangeDetector]],
"annotations": []
});

View File

@ -103,7 +103,7 @@ function setup() {
reflector.registerType(LifeCycle, {
"factory": (exHandler, cd) => new LifeCycle(exHandler, cd),
"parameters": [[ExceptionHandler, ChangeDetector]],
"parameters": [[ExceptionHandler], [ChangeDetector]],
"annotations": []
});