mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Cleanup a bunch of the JS stuff
Summary: Stricter flow typing, better naming, modularization with context objects, more extensible, etc. Reviewed By: yungsters Differential Revision: D10443440 fbshipit-source-id: 171358dfb105829b872d6379064ba4bc29ce34de
This commit is contained in:
1 parent
7b5277bb75
commit
ccc8a425ad
2 files changed
+5
-5
No files matched your search
@@ -75,7 +75,7 @@ TEST(ReactBytecodeInterpreterTest, testSimpleBytecode) {
|
||||
auto bytecode = R"delim({"version":0.1,"commands":[
|
||||
["createNode",2,"RCTView",-1,{"opacity": 0.5, "testId": "root"}],
|
||||
["createNode",4,"RCTView",2,{"testId": "child"}],
|
||||
["childSetNode",2]
|
||||
["returnRoot",2]
|
||||
]})delim";
|
||||
|
||||
mockSimpleTestValue_ = true;
|
||||
@@ -110,7 +110,7 @@ TEST(ReactBytecodeInterpreterTest, testConditionalBytecode) {
|
||||
[["createNode",4,"RCTView",2,{"testId": "cond_true"}]],
|
||||
[["createNode",4,"RCTView",2,{"testId": "cond_false"}]]
|
||||
],
|
||||
["childSetNode",2]
|
||||
["returnRoot",2]
|
||||
]})delim";
|
||||
|
||||
mockSimpleTestValue_ = true;
|
||||
|
||||
Reference in new issue
Block a user