mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
chore: fix typo in comments (#28269)
Summary: Fixed some typos in the comment. ## Changelog [Internal] [Fixed] - Fixed typo in the comments Pull Request resolved: https://github.com/facebook/react-native/pull/28269 Test Plan: Changes are only made in the comments, so test is not necessary. Reviewed By: cpojer Differential Revision: D20342637 Pulled By: shergin fbshipit-source-id: f6e7dd538ee54c43e1570c35e1f8c4502054e328
This commit is contained in:
committed by
Facebook Github Bot
parent
f0dd701045
commit
42c1957aff
@@ -25,7 +25,7 @@
|
||||
* information, native base classes, etc. For now, simply use `void` type as
|
||||
* there's nothing to give hint about.
|
||||
*
|
||||
* NOTE: This export is deprecated. Please us TurboModule.
|
||||
* NOTE: This export is deprecated. Please use TurboModule.
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
|
||||
+1
-1
@@ -150,7 +150,7 @@ class DecoratedRuntime : public jsi::WithRuntimeDecorator<ReentrancyCheck> {
|
||||
public:
|
||||
// The first argument may be another decorater which itself
|
||||
// decorates the real HermesRuntime, depending on the build config.
|
||||
// The second argument is the the real HermesRuntime as well to
|
||||
// The second argument is the real HermesRuntime as well to
|
||||
// manage the debugger registration.
|
||||
DecoratedRuntime(
|
||||
std::unique_ptr<Runtime> runtime,
|
||||
|
||||
@@ -58,7 +58,7 @@ import java.util.ArrayList;
|
||||
* stores a mapping from the view properties to the corresponding animated values (so it's actually
|
||||
* also a node with connections to the value nodes).
|
||||
*
|
||||
* <p>Last "special" elements of the the graph are "animation drivers". Those are objects
|
||||
* <p>Last "special" elements of the graph are "animation drivers". Those are objects
|
||||
* (represented as a graph nodes too) that based on some criteria updates attached values every
|
||||
* frame (we have few types of those, e.g., spring, timing, decay). Animation objects can be
|
||||
* "started" and "stopped". Those are like "pulse generators" for the rest of the nodes graph. Those
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ public class JSDebuggerWebSocketClient extends WebSocketListener {
|
||||
|
||||
js.beginObject().name("id").value(requestID).name("method").value(methodName);
|
||||
/* JsonWriter does not offer writing raw string (without quotes), that's why
|
||||
here we directly write to output string using the the underlying StringWriter */
|
||||
here we directly write to output string using the underlying StringWriter */
|
||||
sw.append(",\"arguments\":").append(jsonArgsArray);
|
||||
js.endObject().close();
|
||||
sendMessage(requestID, sw.toString());
|
||||
|
||||
@@ -501,7 +501,7 @@ public class ReactEditText extends AppCompatEditText {
|
||||
// The current text gets replaced with the text received from JS. However, the spans on the
|
||||
// current text need to be adapted to the new text. Since TextView#setText() will remove or
|
||||
// reset some of these spans even if they are set directly, SpannableStringBuilder#replace() is
|
||||
// used instead (this is also used by the the keyboard implementation underneath the covers).
|
||||
// used instead (this is also used by the keyboard implementation underneath the covers).
|
||||
SpannableStringBuilder spannableStringBuilder =
|
||||
new SpannableStringBuilder(reactTextUpdate.getText());
|
||||
manageSpans(spannableStringBuilder);
|
||||
|
||||
@@ -20,7 +20,7 @@ class ShadowTree;
|
||||
class ShadowTreeDelegate {
|
||||
public:
|
||||
/*
|
||||
* Called right after Shadow Tree commit a new state of the the tree.
|
||||
* Called right after Shadow Tree commit a new state of the tree.
|
||||
*/
|
||||
virtual void shadowTreeDidFinishTransaction(
|
||||
ShadowTree const &shadowTree,
|
||||
|
||||
@@ -73,7 +73,7 @@ private:
|
||||
}
|
||||
|
||||
// DANGER DANGER DANGER!
|
||||
// If the the node assigned to has children, we'd either have to deallocate
|
||||
// If the node assigned to has children, we'd either have to deallocate
|
||||
// them (potentially incorrect) or ignore them (danger of leaks). Only ever
|
||||
// use this after checking that there are no children.
|
||||
// DO NOT CHANGE THE VISIBILITY OF THIS METHOD!
|
||||
|
||||
Reference in New Issue
Block a user