Fix lines longer than 80 chars
Andreas Svensson committed
Jan 15, 2014 at 13:47 UTC
fd02f2c1cdc026fa9abd192bd6b972eb2a22c57e
2 files changed
+16
-5
src/event/EventPluginRegistry.js
+15
-3
@@ -63,7 +63,11 @@ function recomputePluginOrdering() {
63
var publishedEvents = PluginModule.eventTypes;
64
for (var eventName in publishedEvents) {
65
invariant(
66
- publishEventForPlugin(publishedEvents[eventName], PluginModule, eventName),
66
+ publishEventForPlugin(
67
+ publishedEvents[eventName],
68
+ PluginModule,
69
+ eventName
70
+ ),
71
'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.',
72
eventName,
73
pluginName
@@ -86,12 +90,20 @@ function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
90
for (var phaseName in phasedRegistrationNames) {
91
if (phasedRegistrationNames.hasOwnProperty(phaseName)) {
92
var phasedRegistrationName = phasedRegistrationNames[phaseName];
89
- publishRegistrationName(phasedRegistrationName, PluginModule, eventName);
93
+ publishRegistrationName(
94
+ phasedRegistrationName,
95
+ PluginModule,
96
+ eventName
97
+ );
98
}
99
}
100
return true;
101
} else if (dispatchConfig.registrationName) {
94
- publishRegistrationName(dispatchConfig.registrationName, PluginModule, eventName);
102
+ publishRegistrationName(
103
+ dispatchConfig.registrationName,
104
+ PluginModule,
105
+ eventName
106
+ );
107
return true;
108
}
109
return false;
src/utils/isTextInputElement.js
+1
-2
@@ -19,8 +19,7 @@
19
"use strict";
20
21
/**
22
- * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/ ...
23
- * the-input-element.html#input-type-attr-summary
22
+ * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
23
*/
24
var supportedInputTypes = {
25
'color': true,