Fix lines longer than 80 chars

This commit is contained in:
Andreas Svensson
2014-01-15 15:19:14 +01:00
parent 3d47177596
commit fd02f2c1cd
2 changed files with 16 additions and 5 deletions
+15 -3
View File
@@ -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;
+1 -2
View File
@@ -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,