Skip to content

Commit 14729ed

Browse files
mganandrajacoates-ms
authored andcommitted
Removing Chakra specific hack from JSIExecutor (facebook#66)
1 parent 8a1b084 commit 14729ed

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,11 @@ void JSIExecutor::loadApplicationScript(
9797

9898
// TODO: check for and use precompiled HBC
9999

100-
// ChakraCore implementation of JSI don't yet support HostObjects.
101-
// https://office.visualstudio.com/OC/_workitems/edit/2801906
102-
#if !defined(CHAKRA_JSI)
103100
runtime_->global().setProperty(
104101
*runtime_,
105102
"nativeModuleProxy",
106103
Object::createFromHostObject(
107104
*runtime_, std::make_shared<NativeModuleProxy>(*this)));
108-
#endif
109105

110106
runtime_->global().setProperty(
111107
*runtime_,

0 commit comments

Comments
 (0)