fixup! feat(ivy): adding support for ngNonBindable attribute

This commit is contained in:
Misko Hevery
2018-09-26 21:09:03 -07:00
committed by Alex Rickabaugh
parent add1198b88
commit 632b19d5c2
8 changed files with 73 additions and 31 deletions

View File

@ -156,11 +156,11 @@ describe('compiler compliance: bindings', () => {
template:function MyComponent_Template(rf, $ctx$){
if (rf & 1) {
$i0$.ɵelementStart(0, "b", $_c0$, $_c1$);
$i0$setBindingsDisabled();
$i0$disableBindings();
$i0$.ɵelementStart(2, "i");
$i0$.ɵtext(3, "Hello {{ name }}!");
$i0$.ɵelementEnd();
$i0$setBindingsEnabled();
$i0$enableBindings();
$i0$.ɵelementEnd();
$i0$.ɵtext(4);
}
@ -187,10 +187,10 @@ describe('compiler compliance: bindings', () => {
template:function MyComponent_Template(rf, $ctx$){
if (rf & 1) {
$i0$.ɵelementStart(0, "div");
$i0$setBindingsDisabled();
$i0$disableBindings();
$i0$.ɵelement(1, "input", $_c0$);
$i0$.ɵtext(2, " {{ myInput.value }} ");
$i0$setBindingsEnabled();
$i0$enableBindings();
$i0$.ɵelementEnd();
}
`;
@ -211,9 +211,9 @@ describe('compiler compliance: bindings', () => {
template:function MyComponent_Template(rf, $ctx$){
if (rf & 1) {
$i0$.ɵelementStart(0, "div");
$i0$setBindingsDisabled();
$i0$disableBindings();
$i0$.ɵelement(1, "div", $_c0$);
$i0$setBindingsEnabled();
$i0$enableBindings();
$i0$.ɵelementEnd();
}
`;