refactor: remove various leftover unused or deprecated code (#11091)
This commit is contained in:
committed by
Victor Berchet
parent
0cf5ece7f8
commit
4d7d2a2daa
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user