refactor: remove various leftover unused or deprecated code (#11091)

This commit is contained in:
Igor Minar
2016-08-26 09:12:27 -07:00
committed by Victor Berchet
parent 0cf5ece7f8
commit 4d7d2a2daa
8 changed files with 1 additions and 84 deletions
@@ -821,12 +821,6 @@ class TemplateParseVisitor implements html.Visitor {
boundPropertyName = partValue.substr(1);
bindingType = PropertyBindingType.Animation;
securityContext = SecurityContext.NONE;
if (boundPropertyName[0] == '@') {
this._reportError(
`Assigning animation triggers within host data as attributes such as "@prop": "exp" is invalid. Use host bindings (e.g. "[@prop]": "exp") instead.`,
sourceSpan, ParseErrorLevel.FATAL);
boundPropertyName = boundPropertyName.substr(1);
}
} else {
boundPropertyName = this._schemaRegistry.getMappedPropName(partValue);
securityContext = this._schemaRegistry.securityContext(elementName, boundPropertyName);