You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/01/14 08:35:52 UTC

[incubator-weex] Diff for: [GitHub] wqyfavor merged pull request #2044: Remove orange with transform's value parse.

diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTransform.m b/ios/sdk/WeexSDK/Sources/Component/WXTransform.m
index 51ee2dca91..9254160151 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTransform.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTransform.m
@@ -259,19 +259,9 @@ - (void)parseTransform:(NSString *)cssValue
         SEL method = NSSelectorFromString([NSString stringWithFormat:@"parse%@:", [name capitalizedString]]);
         if ([self respondsToSelector:method]) {
             @try {
-                id<WXConfigCenterProtocol> configCenter = [WXSDKEngine handlerForProtocol:@protocol(WXConfigCenterProtocol)];
-                BOOL parseTransformIfWaitUntilDone = NO;
-                if ([configCenter respondsToSelector:@selector(configForKey:defaultValue:isDefault:)]) {
-                    parseTransformIfWaitUntilDone = [[configCenter configForKey:@"iOS_weex_ext_config.parseTransformIfWaitUntilDone" defaultValue:@(NO) isDefault:NULL] boolValue];
-                }
-                if (parseTransformIfWaitUntilDone) {
-                    [self performSelectorOnMainThread:method withObject:value waitUntilDone:YES];
-                }
-                else{
-                    IMP imp = [self methodForSelector:method];
-                    void (*func)(id, SEL,NSArray *) = (void *)imp;
-                    func(self, method,value);
-                }
+                IMP imp = [self methodForSelector:method];
+                void (*func)(id, SEL,NSArray *) = (void *)imp;
+                func(self, method,value);
             }
             @catch (NSException *exception) {
                 WXLogError(@"WXTransform exception:%@", [exception reason]);


With regards,
Apache Git Services