diff --git a/src/dom/DOMProperty.js b/src/dom/DOMProperty.js index f6a3a20ebe..204eadbae4 100644 --- a/src/dom/DOMProperty.js +++ b/src/dom/DOMProperty.js @@ -112,7 +112,7 @@ var DOMPropertyInjection = { propConfig & DOMPropertyInjection.HAS_BOOLEAN_VALUE; DOMProperty.hasPositiveNumericValue[propName] = propConfig & DOMPropertyInjection.HAS_POSITIVE_NUMERIC_VALUE; - + invariant( !DOMProperty.mustUseAttribute[propName] || !DOMProperty.mustUseProperty[propName], @@ -205,7 +205,7 @@ var DOMProperty = { * @type {Object} */ hasSideEffects: {}, - + /** * Whether the property should be removed when set to a falsey value. * @type {Object} @@ -218,7 +218,7 @@ var DOMProperty = { * @type {Object} */ hasPositiveNumericValue: {}, - + /** * All of the isCustomAttribute() functions that have been injected. */ diff --git a/src/dom/DOMPropertyOperations.js b/src/dom/DOMPropertyOperations.js index fa796137f4..d134cac60d 100644 --- a/src/dom/DOMPropertyOperations.js +++ b/src/dom/DOMPropertyOperations.js @@ -28,7 +28,7 @@ function shouldIgnoreValue(name, value) { return value == null || DOMProperty.hasBooleanValue[name] && !value || DOMProperty.hasPositiveNumericValue[name] && (isNaN(value) || value < 1); -}; +} var processAttributeNameAndPrefix = memoizeStringOnly(function(name) { return escapeTextForBrowser(name) + '="'; diff --git a/src/dom/DefaultDOMPropertyConfig.js b/src/dom/DefaultDOMPropertyConfig.js index 270fda08a1..1f4ebd40e8 100644 --- a/src/dom/DefaultDOMPropertyConfig.js +++ b/src/dom/DefaultDOMPropertyConfig.js @@ -26,7 +26,8 @@ var MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE; var MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY; var HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE; var HAS_SIDE_EFFECTS = DOMProperty.injection.HAS_SIDE_EFFECTS; -var HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE; +var HAS_POSITIVE_NUMERIC_VALUE = + DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE; var DefaultDOMPropertyConfig = { isCustomAttribute: RegExp.prototype.test.bind(