mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Bugfix - Typos
Summary: Fixed few typos in `./Examples` and `./Libraries` folders. Closes https://github.com/facebook/react-native/pull/4788 Reviewed By: svcscm Differential Revision: D2759918 Pulled By: androidtrunkagent fb-gh-sync-id: d692b5c7f561822353e522f9d4dfde7e60b491cf
This commit is contained in:
committed by
facebook-github-bot-4
parent
7871abf907
commit
0e8b207cc3
@@ -107,7 +107,7 @@ var ReactNativeEventEmitter = merge(ReactEventEmitterMixin, {
|
||||
*
|
||||
* @see receiveEvent.
|
||||
*
|
||||
* @param {rootNodeID} rootNodeID React root node ID that event occured on.
|
||||
* @param {rootNodeID} rootNodeID React root node ID that event occurred on.
|
||||
* @param {TopLevelType} topLevelType Top level type of event.
|
||||
* @param {object} nativeEventParam Object passed from native.
|
||||
*/
|
||||
@@ -127,9 +127,9 @@ var ReactNativeEventEmitter = merge(ReactEventEmitterMixin, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Publically exposed method on module for native objc to invoke when a top
|
||||
* Publicly exposed method on module for native objc to invoke when a top
|
||||
* level event is extracted.
|
||||
* @param {rootNodeID} rootNodeID React root node ID that event occured on.
|
||||
* @param {rootNodeID} rootNodeID React root node ID that event occurred on.
|
||||
* @param {TopLevelType} topLevelType Top level type of event.
|
||||
* @param {object} nativeEventParam Object passed from native.
|
||||
*/
|
||||
@@ -183,7 +183,7 @@ var ReactNativeEventEmitter = merge(ReactEventEmitterMixin, {
|
||||
|
||||
for (var jj = 0; jj < changedTouches.length; jj++) {
|
||||
var touch = changedTouches[jj];
|
||||
// Touch objects can fullfill the role of `DOM` `Event` objects if we set
|
||||
// Touch objects can fulfill the role of `DOM` `Event` objects if we set
|
||||
// the `changedTouches`/`touches`. This saves allocations.
|
||||
touch.changedTouches = changedTouches;
|
||||
touch.touches = touches;
|
||||
|
||||
@@ -66,7 +66,7 @@ var Mixin = {
|
||||
* @see Transaction
|
||||
* @abstract
|
||||
* @final
|
||||
* @return {array<object>} List of operation wrap proceedures.
|
||||
* @return {array<object>} List of operation wrap procedures.
|
||||
* TODO: convert to array<TransactionWrapper>
|
||||
*/
|
||||
getTransactionWrappers: function() {
|
||||
@@ -83,7 +83,7 @@ var Mixin = {
|
||||
|
||||
/**
|
||||
* `PooledClass` looks for this, and will invoke this before allowing this
|
||||
* instance to be resused.
|
||||
* instance to be reused.
|
||||
*/
|
||||
destructor: function() {
|
||||
CallbackQueue.release(this.reactMountReady);
|
||||
|
||||
Reference in New Issue
Block a user