refactor(ivy): rename stylingProp => styleProp (#26149)

PR Close #26149
This commit is contained in:
Matias Niemelä
2018-09-27 15:07:51 -07:00
committed by Alex Rickabaugh
parent 68fadd9b97
commit c51331689f
9 changed files with 18 additions and 18 deletions

View File

@ -425,7 +425,7 @@ describe('compiler compliance', () => {
$r3$.ɵelementEnd();
}
if (rf & 2) {
$r3$.ɵelementStylingProp(0, 0, ctx.color);
$r3$.ɵelementStyleProp(0, 0, ctx.color);
$r3$.ɵelementClassProp(0, 0, ctx.error);
$r3$.ɵelementStylingApply(0);
}
@ -674,10 +674,10 @@ describe('compiler compliance', () => {
MyComponent.ngComponentDef = $r3$.ɵdefineComponent({
type: MyComponent,
selectors: [["my-component"]],
factory: function MyComponent_Factory(t) {
factory: function MyComponent_Factory(t) {
return new (t || MyComponent)(
$r3$.ɵdirectiveInject(ElementRef), $r3$.ɵdirectiveInject(ViewContainerRef),
$r3$.ɵdirectiveInject(ChangeDetectorRef));
$r3$.ɵdirectiveInject(ElementRef), $r3$.ɵdirectiveInject(ViewContainerRef),
$r3$.ɵdirectiveInject(ChangeDetectorRef));
},
features: [$r3$.ɵPublicFeature],
consts: 0,

View File

@ -315,8 +315,8 @@ describe('compiler compliance: styling', () => {
}
if (rf & 2) {
$r3$.ɵelementStylingMap(0, null, $ctx$.myStyleExp);
$r3$.ɵelementStylingProp(0, 1, $ctx$.myWidth);
$r3$.ɵelementStylingProp(0, 2, $ctx$.myHeight);
$r3$.ɵelementStyleProp(0, 1, $ctx$.myWidth);
$r3$.ɵelementStyleProp(0, 2, $ctx$.myHeight);
$r3$.ɵelementStylingApply(0);
$r3$.ɵelementAttribute(0, "style", $r3$.ɵbind("border-width: 10px"), $r3$.ɵsanitizeStyle);
}
@ -373,7 +373,7 @@ describe('compiler compliance: styling', () => {
$r3$.ɵelementEnd();
}
if (rf & 2) {
$r3$.ɵelementStylingProp(0, 0, ctx.myImage);
$r3$.ɵelementStyleProp(0, 0, ctx.myImage);
$r3$.ɵelementStylingApply(0);
}
}