mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
@@ -54,7 +54,7 @@ var EVENT_SUPPRESSION = {
|
||||
|
||||
/**
|
||||
* @param {boolean} previouslyEnabled Enabled status of
|
||||
* `ReactBrowserEventEmitter` before the reconciliation occured. `close`
|
||||
* `ReactBrowserEventEmitter` before the reconciliation occurred. `close`
|
||||
* restores the previous value.
|
||||
*/
|
||||
close: function(previouslyEnabled) {
|
||||
|
||||
@@ -73,7 +73,7 @@ var eventTypes = {
|
||||
/**
|
||||
* On a `scroll`, is it desired that this element become the responder? This
|
||||
* is usually not needed, but should be used to retroactively infer that a
|
||||
* `touchStart` had occured during momentum scroll. During a momentum scroll,
|
||||
* `touchStart` had occurred during momentum scroll. During a momentum scroll,
|
||||
* a touch start will be immediately followed by a scroll event if the view is
|
||||
* currently scrolling.
|
||||
*
|
||||
|
||||
@@ -234,7 +234,7 @@ var Transaction = {
|
||||
Mixin: Mixin,
|
||||
|
||||
/**
|
||||
* Token to look for to determine if an error occured.
|
||||
* Token to look for to determine if an error occurred.
|
||||
*/
|
||||
OBSERVED_ERROR: {},
|
||||
|
||||
|
||||
@@ -294,7 +294,7 @@ var ReactTestUtils = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Simulates a top level event being dispatched from a raw event that occured
|
||||
* Simulates a top level event being dispatched from a raw event that occurred
|
||||
* on an `Element` node.
|
||||
* @param {Object} topLevelType A type from `EventConstants.topLevelTypes`
|
||||
* @param {!Element} node The dom to simulate an event occurring on.
|
||||
@@ -309,7 +309,7 @@ var ReactTestUtils = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Simulates a top level event being dispatched from a raw event that occured
|
||||
* Simulates a top level event being dispatched from a raw event that occurred
|
||||
* on the `ReactDOMComponent` `comp`.
|
||||
* @param {Object} topLevelType A type from `EventConstants.topLevelTypes`.
|
||||
* @param {!ReactDOMComponent} comp
|
||||
|
||||
Reference in New Issue
Block a user