@samitouri / QOS-React-2 / commits / ba8c987391

Fix typos and redundant words

hejld committed Nov 17, 2015 at 12:39 UTC ba8c987391a56c68cf1b0d8decd74e19092069c7
4 files changed +6 -6
src/renderers/dom/client/ReactReconcileTransaction.js
+1 -1
@@ -63,7 +63,7 @@ var EVENT_SUPPRESSION = {
63
64 /**
65 * Provides a queue for collecting `componentDidMount` and
66 - * `componentDidUpdate` callbacks during the the transaction.
66 + * `componentDidUpdate` callbacks during the transaction.
67 */
68 var ON_DOM_READY_QUEUEING = {
69 /**
src/renderers/dom/shared/HTMLDOMPropertyConfig.js
+1 -1
@@ -203,7 +203,7 @@ var HTMLDOMPropertyConfig = {
203 itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
204 itemType: MUST_USE_ATTRIBUTE,
205 // itemID and itemRef are for Microdata support as well but
206 - // only specified in the the WHATWG spec document. See
206 + // only specified in the WHATWG spec document. See
207 // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api
208 itemID: MUST_USE_ATTRIBUTE,
209 itemRef: MUST_USE_ATTRIBUTE,
src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
+3 -3
@@ -135,7 +135,7 @@ var eventTypes = {
135 * immediately to indicate so, either by highlighting or moving accordingly.
136 * - To be the responder means, that touches are exclusively important to that
137 * responder view, and no other view.
138 - * - While touches are still occuring, the responder lock can be transfered to
138 + * - While touches are still occurring, the responder lock can be transferred to
139 * a new view, but only to increasingly "higher" views (meaning ancestors of
140 * the current responder).
141 *
@@ -330,7 +330,7 @@ function setResponderAndExtractTransfer(
330 eventTypes.selectionChangeShouldSetResponder :
331 eventTypes.scrollShouldSetResponder;
332
333 - // TODO: stop one short of the the current responder.
333 + // TODO: stop one short of the current responder.
334 var bubbleShouldSetFrom = !responderInst ?
335 targetInst :
336 EventPluginUtils.getLowestCommonAncestor(responderInst, targetInst);
@@ -499,7 +499,7 @@ var ResponderEventPlugin = {
499 nativeEvent,
500 nativeEventTarget) :
501 null;
502 - // Responder may or may not have transfered on a new touch start/move.
502 + // Responder may or may not have transferred on a new touch start/move.
503 // Regardless, whoever is the responder after any potential transfer, we
504 // direct all touch start/move/ends to them in the form of
505 // `onResponderMove/Start/End`. These will be called for *every* additional
src/renderers/shared/event/eventPlugins/__tests__/ResponderEventPlugin-test.js
+1 -1
@@ -728,7 +728,7 @@ describe('ResponderEventPlugin', function() {
728
729 config = oneEventLoopTestConfig(three);
730
731 - // Parent is responder, and responder is transfered by a second touch start
731 + // Parent is responder, and responder is transferred by a second touch start
732 config.startShouldSetResponder.captured.grandParent = {order: 0, returnVal: true};
733 config.responderTerminationRequest.parent = {order: 1, returnVal: true};
734 config.responderGrant.grandParent = {order: 2};