Revert "fix(compiler): add ability to parse : in * directives"
This reverts commit 53628e19ac
.
as it breaks pipe arguments in `*ngFor`, ...
See #9062
Closes #9063
This commit is contained in:
@ -439,9 +439,7 @@ class TemplateParseVisitor implements HtmlAstVisitor {
|
||||
templateBindingsSource = attr.value;
|
||||
} else if (attr.name.startsWith(TEMPLATE_ATTR_PREFIX)) {
|
||||
var key = attr.name.substring(TEMPLATE_ATTR_PREFIX.length); // remove the star
|
||||
templateBindingsSource = (attr.value.length == 0) ?
|
||||
key :
|
||||
key + ' ' + StringWrapper.replaceAll(attr.value, /:/g, ' ');
|
||||
templateBindingsSource = (attr.value.length == 0) ? key : key + ' ' + attr.value;
|
||||
}
|
||||
if (isPresent(templateBindingsSource)) {
|
||||
var bindings = this._parseTemplateBindings(templateBindingsSource, attr.sourceSpan);
|
||||
|
Reference in New Issue
Block a user