mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Typos in comments and log messages
Summary: No code changes, no testing required. alligned -> aligned allignment -> alignment completly -> completely conseptually -> conceptually decendents -> descendants indefinetly -> indefinitely dimention -> dimension doesnt -> doesn't safegaurd -> safeguard intialization -> initialization hierachy -> hierarchy happend -> happened gaurd -> guard programatically -> programmatically initalized -> initialized immidiately -> immediately occured -> occurred unkown -> unknown neccessary -> necessary neccesarily -> necessarily occuring -> occurring comoponent -> component propogate -> propagate recieved -> received referece -> reference perfomance -> performance recieving -> receiving subsquently -> subsequently scoll -> scroll suprisingly -> surprisingly targetting -> targeting tranform -> transform symetrical -> symmetrical wtih -> with Closes https://github.com/facebook/react-native/pull/17578 Differential Revision: D6718791 Pulled By: shergin fbshipit-source-id: 4ab79c1131ec5971d35a0c7199eba7ec0a0918ad
This commit is contained in:
committed by
Facebook Github Bot
parent
cae7179c94
commit
d2c569795c
@@ -110,7 +110,7 @@ void CxxNativeModule::invoke(unsigned int reactMethodId, folly::dynamic&& params
|
||||
params.resize(params.size() - method.callbacks);
|
||||
|
||||
// I've got a few flawed options here. I can let the C++ exception
|
||||
// propogate, and the registry will log/convert them to java exceptions.
|
||||
// propagate, and the registry will log/convert them to java exceptions.
|
||||
// This lets all the java and red box handling work ok, but the only info I
|
||||
// can capture about the C++ exception is the what() string, not the stack.
|
||||
// I can std::terminate() the app. This causes the full, accurate C++
|
||||
|
||||
@@ -56,7 +56,7 @@ class RN_EXPORT ModuleRegistry {
|
||||
std::unordered_map<std::string, size_t> modulesByName_;
|
||||
|
||||
// This is populated with modules that are requested via getConfig but are unknown.
|
||||
// An error will be thrown if they are subsquently added to the registry.
|
||||
// An error will be thrown if they are subsequently added to the registry.
|
||||
std::unordered_set<std::string> unknownModules_;
|
||||
|
||||
// Function will be called if a module was requested but was not found.
|
||||
|
||||
@@ -65,9 +65,9 @@ struct YGNode {
|
||||
YGMeasureFunc getMeasure() const;
|
||||
YGBaselineFunc getBaseline() const;
|
||||
YGDirtiedFunc getDirtied() const;
|
||||
// For Perfomance reasons passing as reference.
|
||||
// For Performance reasons passing as reference.
|
||||
YGStyle& getStyle();
|
||||
// For Perfomance reasons passing as reference.
|
||||
// For Performance reasons passing as reference.
|
||||
YGLayout& getLayout();
|
||||
uint32_t getLineIndex() const;
|
||||
YGNodeRef getParent() const;
|
||||
|
||||
Reference in New Issue
Block a user