You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/01/24 08:21:25 UTC
[14/50] [abbrv] incubator-weex git commit: * [ios] format code
* [ios] format code
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a1baf893
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a1baf893
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a1baf893
Branch: refs/heads/master
Commit: a1baf8935e7bfd5a8cb8a8e57364309123e49002
Parents: 9f96659
Author: acton393 <zh...@gmail.com>
Authored: Tue Jan 10 22:54:01 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Jan 10 22:54:01 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a1baf893/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
index 9f18941..b37f097 100644
--- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
+++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
@@ -468,8 +468,8 @@ typedef enum : NSUInteger {
NSString *callbackId = callbackInfo[@"callbackId"];
BOOL once = [callbackInfo[@"once"] boolValue];
NSDictionary * retData = @{@"type":userInfo[@"eventName"],
- @"module":callbackInfo[@"moduleName"],
- @"data":userInfo[@"param"]};
+ @"module":callbackInfo[@"moduleName"],
+ @"data":userInfo[@"param"]};
[[WXSDKManager bridgeMgr] callBack:self.instanceId funcId:callbackId params:retData keepAlive:!once];
// if callback function is not once, then it is keepalive
if (once) {