mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix lines longer than 80 chars
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user