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

@ -89,7 +89,7 @@ export {
elementAttribute as ɵelementAttribute,
elementStyling as ɵelementStyling,
elementStylingMap as ɵelementStylingMap,
elementStyleProp as ɵelementStylingProp,
elementStyleProp as ɵelementStyleProp,
elementStylingApply as ɵelementStylingApply,
elementClassProp as ɵelementClassProp,
textBinding as ɵtextBinding,

View File

@ -92,7 +92,7 @@ export const angularCoreEnv: {[name: string]: Function} = {
'ɵreference': r3.reference,
'ɵelementStyling': r3.elementStyling,
'ɵelementStylingMap': r3.elementStylingMap,
'ɵelementStylingProp': r3.elementStyleProp,
'ɵelementStyleProp': r3.elementStyleProp,
'ɵelementStylingApply': r3.elementStylingApply,
'ɵtemplate': r3.template,
'ɵtext': r3.text,

View File

@ -345,8 +345,8 @@ describe('elements', () => {
$r3$.ɵelementEnd();
}
if (rf & 2) {
$r3$.ɵelementStylingProp(0, 0, ctx.someColor);
$r3$.ɵelementStylingProp(0, 1, ctx.someWidth, 'px');
$r3$.ɵelementStyleProp(0, 0, ctx.someColor);
$r3$.ɵelementStyleProp(0, 1, ctx.someWidth, 'px');
$r3$.ɵelementStylingApply(0);
}
}

View File

@ -53,7 +53,7 @@ describe('compiler sanitization', () => {
if (rf & 2) {
$r3$.ɵelementProperty(0, 'innerHTML', $r3$.ɵbind(ctx.innerHTML), $r3$.ɵsanitizeHtml);
$r3$.ɵelementProperty(0, 'hidden', $r3$.ɵbind(ctx.hidden));
$r3$.ɵelementStylingProp(0, 0, ctx.style);
$r3$.ɵelementStyleProp(0, 0, ctx.style);
$r3$.ɵelementStylingApply(0);
$r3$.ɵelementProperty(1, 'src', $r3$.ɵbind(ctx.url), $r3$.ɵsanitizeUrl);
$r3$.ɵelementAttribute(1, 'srcset', $r3$.ɵbind(ctx.url), $r3$.ɵsanitizeUrl);