Repository: incubator-weex Updated Branches: refs/heads/master e32b52f7f -> 51b060cef
fix unregisterServiceScript service name Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/51b060ce Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/51b060ce Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/51b060ce Branch: refs/heads/master Commit: 51b060cefeb15a8aabcd34de4177e088406042a6 Parents: e32b52f Author: lybeen <[email protected]> Authored: Wed Jan 17 13:55:06 2018 +0800 Committer: lybeen <[email protected]> Committed: Wed Jan 17 13:55:06 2018 +0800 ---------------------------------------------------------------------- ios/sdk/WeexSDK/Sources/Manager/WXServiceFactory.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/51b060ce/ios/sdk/WeexSDK/Sources/Manager/WXServiceFactory.m ---------------------------------------------------------------------- diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXServiceFactory.m b/ios/sdk/WeexSDK/Sources/Manager/WXServiceFactory.m index eddbf58..bf061a6 100644 --- a/ios/sdk/WeexSDK/Sources/Manager/WXServiceFactory.m +++ b/ios/sdk/WeexSDK/Sources/Manager/WXServiceFactory.m @@ -106,7 +106,7 @@ - (NSString *) unregisterServiceScript: (NSString *) name { - NSString *script = [NSString stringWithFormat:@";global.unregisterService(%@);", name]; + NSString *script = [NSString stringWithFormat:@";global.unregisterService('%@');", name]; return script; }
