function _resetEventPlugins() {
	    EventPluginOrder = null;
	    for (var pluginName in namesToPlugins) {
	      if (namesToPlugins.hasOwnProperty(pluginName)) {
	        delete namesToPlugins[pluginName];
	      }
	    }
	    EventPluginRegistry.plugins.length = 0;

	    var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;
	    for (var eventName in eventNameDispatchConfigs) {
	      if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {
	        delete eventNameDispatchConfigs[eventName];
	      }
	    }

	    var registrationNameModules = EventPluginRegistry.registrationNameModules;
	    for (var registrationName in registrationNameModules) {
	      if (registrationNameModules.hasOwnProperty(registrationName)) {
	        delete registrationNameModules[registrationName];
	      }
	    }

	    if (process.env.NODE_ENV !== 'production') {
	      var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;
	      for (var lowerCasedName in possibleRegistrationNames) {
	        if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {
	          delete possibleRegistrationNames[lowerCasedName];
	        }
	      }
	    }
	  }
/**
	   * Exposed for unit testing.
	   * @private
	   */
Exposed for unit testing.
@private
Exposed for unit testing . @private
function _resetEventPlugins() {
	    EventPluginOrder = null;
	    for (var pluginName in namesToPlugins) {
	      if (namesToPlugins.hasOwnProperty(pluginName)) {
	        delete namesToPlugins[pluginName];
	      }
	    }
	    EventPluginRegistry.plugins.length = 0;
	    var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;
	    for (var eventName in eventNameDispatchConfigs) {
	      if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {
	        delete eventNameDispatchConfigs[eventName];
	      }
	    }
	    var registrationNameModules = EventPluginRegistry.registrationNameModules;
	    for (var registrationName in registrationNameModules) {
	      if (registrationNameModules.hasOwnProperty(registrationName)) {
	        delete registrationNameModules[registrationName];
	      }
	    }
	    if (process.env.NODE_ENV !== 'production') {
	      var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;
	      for (var lowerCasedName in possibleRegistrationNames) {
	        if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {
	          delete possibleRegistrationNames[lowerCasedName];
	        }
	      }
	    }
	  }
function _resetEventPlugins ( ) { EventPluginOrder = null ; for ( var pluginName in namesToPlugins ) { if ( namesToPlugins . hasOwnProperty ( pluginName ) ) { delete namesToPlugins [ pluginName ] ; } } EventPluginRegistry . plugins . length = 0 ; var eventNameDispatchConfigs = EventPluginRegistry . eventNameDispatchConfigs ; for ( var eventName in eventNameDispatchConfigs ) { if ( eventNameDispatchConfigs . hasOwnProperty ( eventName ) ) { delete eventNameDispatchConfigs [ eventName ] ; } } var registrationNameModules = EventPluginRegistry . registrationNameModules ; for ( var registrationName in registrationNameModules ) { if ( registrationNameModules . hasOwnProperty ( registrationName ) ) { delete registrationNameModules [ registrationName ] ; } } if ( process . env . NODE_ENV !== 'production' ) { var possibleRegistrationNames = EventPluginRegistry . possibleRegistrationNames ; for ( var lowerCasedName in possibleRegistrationNames ) { if ( possibleRegistrationNames . hasOwnProperty ( lowerCasedName ) ) { delete possibleRegistrationNames [ lowerCasedName ] ; } } } }
Exposed for unit testing.
Exposed for unit testing .