fixup! feat(ivy): adding support for ngNonBindable attribute
This commit is contained in:

committed by
Alex Rickabaugh

parent
add1198b88
commit
632b19d5c2
@ -60,10 +60,9 @@ export class Identifiers {
|
||||
|
||||
static bind: o.ExternalReference = {name: 'ɵbind', moduleName: CORE};
|
||||
|
||||
static setBindingsEnabled: o.ExternalReference = {name: 'ɵsetBindingsEnabled', moduleName: CORE};
|
||||
static enableBindings: o.ExternalReference = {name: 'ɵenableBindings', moduleName: CORE};
|
||||
|
||||
static setBindingsDisabled:
|
||||
o.ExternalReference = {name: 'ɵsetBindingsDisabled', moduleName: CORE};
|
||||
static disableBindings: o.ExternalReference = {name: 'ɵdisableBindings', moduleName: CORE};
|
||||
|
||||
static getCurrentView: o.ExternalReference = {name: 'ɵgetCurrentView', moduleName: CORE};
|
||||
|
||||
|
@ -492,7 +492,7 @@ export class TemplateDefinitionBuilder implements t.Visitor<void>, LocalResolver
|
||||
trimTrailingNulls(parameters));
|
||||
|
||||
if (isNonBindableMode) {
|
||||
this.creationInstruction(element.sourceSpan, R3.setBindingsDisabled);
|
||||
this.creationInstruction(element.sourceSpan, R3.disableBindings);
|
||||
}
|
||||
|
||||
// initial styling for static style="..." attributes
|
||||
@ -661,8 +661,7 @@ export class TemplateDefinitionBuilder implements t.Visitor<void>, LocalResolver
|
||||
if (!createSelfClosingInstruction) {
|
||||
// Finish element construction mode.
|
||||
if (isNonBindableMode) {
|
||||
this.creationInstruction(
|
||||
element.endSourceSpan || element.sourceSpan, R3.setBindingsEnabled);
|
||||
this.creationInstruction(element.endSourceSpan || element.sourceSpan, R3.enableBindings);
|
||||
}
|
||||
this.creationInstruction(
|
||||
element.endSourceSpan || element.sourceSpan,
|
||||
|
Reference in New Issue
Block a user