Initial commit (#9917)
This commit is contained in:
parent
4aea7c3fad
commit
a0534fb5c9
|
@ -190,7 +190,6 @@ function setInitialDOMProperties(
|
|||
}
|
||||
}
|
||||
// Relies on `updateStylesByID` not mutating `styleUpdates`.
|
||||
// TODO: call ReactInstrumentation.debugTool.onHostOperation in DEV.
|
||||
CSSPropertyOperations.setValueForStyles(domElement, nextProp);
|
||||
} else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
|
||||
var nextHtml = nextProp ? nextProp[HTML] : undefined;
|
||||
|
@ -240,7 +239,6 @@ function updateDOMProperties(
|
|||
var propKey = updatePayload[i];
|
||||
var propValue = updatePayload[i + 1];
|
||||
if (propKey === STYLE) {
|
||||
// TODO: call ReactInstrumentation.debugTool.onHostOperation in DEV.
|
||||
CSSPropertyOperations.setValueForStyles(domElement, propValue);
|
||||
} else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
|
||||
setInnerHTML(domElement, propValue);
|
||||
|
|
Loading…
Reference in New Issue