Fixing lint failures
mzabriskie committed
Jan 26, 2015 at 17:41 UTC
05e2bc6b5cbe51e1fc7b90d85b55bcb12473295a
1 file changed
+4
-3
src/browser/ui/dom/CSSPropertyOperations.js
+4
-3
@@ -73,12 +73,13 @@ if (__DEV__) {
73
if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {
74
return;
75
}
76
-
76
+
77
warnedStyleValues[value] = true;
78
warning(
79
false,
80
'Style property values shouldn\'t contain a semicolon. Try "' +
81
- name + ': ' + value.replace(badStyleValueWithSemicolonPattern, '') + '" instead.'
81
+ name + ': ' + value.replace(badStyleValueWithSemicolonPattern, '') +
82
+ '" instead.'
83
);
84
};
85
@@ -146,7 +147,7 @@ var CSSPropertyOperations = {
147
continue;
148
}
149
if (__DEV__) {
149
- assertValidStyle(styleName, styles[styleName]);
150
+ assertValidStyle(styleName, styles[styleName]);
151
}
152
var styleValue = dangerousStyleValue(styleName, styles[styleName]);
153
if (styleName === 'float') {