From 9981b8928d20416d1a3f3995b9f4d32ccf273ebd Mon Sep 17 00:00:00 2001 From: Marc Horowitz Date: Wed, 28 Sep 2016 14:00:19 -0700 Subject: [PATCH] Make shared new bridge work in wilde/pyml Reviewed By: javache Differential Revision: D3926487 fbshipit-source-id: 6c40233c6140ef7ca1f78a5119e34c0979c444ee --- React/Base/RCTBatchedBridge.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Base/RCTBatchedBridge.m b/React/Base/RCTBatchedBridge.m index 3a87af40d..5e3f2572b 100644 --- a/React/Base/RCTBatchedBridge.m +++ b/React/Base/RCTBatchedBridge.m @@ -798,7 +798,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithBundleURL:(__unused NSURL *)bundleUR RCT_PROFILE_BEGIN_EVENT(0, @"callFunctionOnModule", (@{ @"module": module, @"method": method })); [jsExecutor callFunctionOnModule:module method:method - arguments:arguments + arguments:arguments ?: @[] jsValueCallback:^(JSValue *result, NSError *jsError) { if (error) { *error = jsError;