Skip to content

Commit

Permalink
Revert "Merge pull request facebook#6458 from mondaychen/master"
Browse files Browse the repository at this point in the history
This reverts commit 2548108, reversing
changes made to 09022b1.
  • Loading branch information
zpao committed May 2, 2016
1 parent 261bf28 commit be78a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/dom/shared/dangerousStyleValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function dangerousStyleValue(name, value, component) {
}

var isNonNumeric = isNaN(value);
if (isNonNumeric || value === 0 || value === '0' ||
if (isNonNumeric || value === 0 ||
isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) {
return '' + value; // cast to string
}
Expand Down

0 comments on commit be78a41

Please sign in to comment.