fix(di): allow injecting static attrs without type annotations

Closes #1226
This commit is contained in:
Pawel Kozlowski
2015-04-03 17:23:13 +02:00
parent 94a48e8640
commit a3387b7f48
3 changed files with 26 additions and 3 deletions

View File

@ -140,8 +140,6 @@ function _extractToken(typeOrFunc, annotations) {
}
ListWrapper.push(depProps, paramAnnotation);
} else if (paramAnnotation.name === "string") {
token = paramAnnotation;
}
}