diff --git a/src/event/EventPluginRegistry.js b/src/event/EventPluginRegistry.js index a2ab2305d1..42c2343641 100644 --- a/src/event/EventPluginRegistry.js +++ b/src/event/EventPluginRegistry.js @@ -63,7 +63,11 @@ function recomputePluginOrdering() { var publishedEvents = PluginModule.eventTypes; for (var eventName in publishedEvents) { invariant( - publishEventForPlugin(publishedEvents[eventName], PluginModule, eventName), + publishEventForPlugin( + publishedEvents[eventName], + PluginModule, + eventName + ), 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName @@ -86,12 +90,20 @@ function publishEventForPlugin(dispatchConfig, PluginModule, eventName) { for (var phaseName in phasedRegistrationNames) { if (phasedRegistrationNames.hasOwnProperty(phaseName)) { var phasedRegistrationName = phasedRegistrationNames[phaseName]; - publishRegistrationName(phasedRegistrationName, PluginModule, eventName); + publishRegistrationName( + phasedRegistrationName, + PluginModule, + eventName + ); } } return true; } else if (dispatchConfig.registrationName) { - publishRegistrationName(dispatchConfig.registrationName, PluginModule, eventName); + publishRegistrationName( + dispatchConfig.registrationName, + PluginModule, + eventName + ); return true; } return false; diff --git a/src/utils/isTextInputElement.js b/src/utils/isTextInputElement.js index 99fa0a60e1..d7e5d5a27f 100644 --- a/src/utils/isTextInputElement.js +++ b/src/utils/isTextInputElement.js @@ -19,8 +19,7 @@ "use strict"; /** - * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/ ... - * the-input-element.html#input-type-attr-summary + * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary */ var supportedInputTypes = { 'color': true,