Initial commit (#9917)

This commit is contained in:
Jack Ford 2017-06-10 10:51:13 -04:00 committed by Dan Abramov
parent 4aea7c3fad
commit a0534fb5c9
1 changed files with 0 additions and 2 deletions

View File

@ -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);