You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by bo...@apache.org on 2017/04/18 09:51:10 UTC
[1/8] incubator-weex git commit: * [ios] expose js error code
Repository: incubator-weex
Updated Branches:
refs/heads/0.12-dev 8ce111a7d -> 24ef3af94
* [ios] expose js error 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/7b34ccc5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/7b34ccc5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/7b34ccc5
Branch: refs/heads/0.12-dev
Commit: 7b34ccc5fa8adbb602b17822edc7a916f5c24508
Parents: 4139337
Author: acton393 <zh...@gmail.com>
Authored: Mon Apr 17 14:00:56 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Apr 17 14:00:56 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7b34ccc5/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
index bce33dd..5f837cc 100644
--- a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
+++ b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
@@ -124,7 +124,7 @@
WXSDKInstance *instance = [WXSDKEngine topInstance];
if ([jsExceptionHandler respondsToSelector:@selector(onJSException:)]) {
- WXJSExceptionInfo * jsExceptionInfo = [[WXJSExceptionInfo alloc] initWithInstanceId:instance.instanceId bundleUrl:[instance.scriptURL absoluteString] errorCode:@"" functionName:@"" exception:[NSString stringWithFormat:@"%@\n%@",[exception toString], exception[@"stack"]] userInfo:nil];
+ WXJSExceptionInfo * jsExceptionInfo = [[WXJSExceptionInfo alloc] initWithInstanceId:instance.instanceId bundleUrl:[instance.scriptURL absoluteString] errorCode:[NSString stringWithFormat:@"%d", WX_ERR_JS_EXECUTE] functionName:@"" exception:[NSString stringWithFormat:@"%@\n%@",[exception toString], exception[@"stack"]] userInfo:nil];
[jsExceptionHandler onJSException:jsExceptionInfo];
}
WX_MONITOR_FAIL(WXMTJSBridge, WX_ERR_JS_EXECUTE, message);
[2/8] incubator-weex git commit: Merge remote-tracking branch
'upstream/0.12-dev' into 0.12-dev
Posted by bo...@apache.org.
Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8b0f4a81
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8b0f4a81
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8b0f4a81
Branch: refs/heads/0.12-dev
Commit: 8b0f4a813e647acdf9c15256a56b7a95815624e0
Parents: 7b34ccc 5ea9966
Author: acton393 <zh...@gmail.com>
Authored: Mon Apr 17 17:56:40 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Apr 17 17:56:40 2017 +0800
----------------------------------------------------------------------
android/commons/src/main/AndroidManifest.xml | 18 +
.../java/com/alibaba/weex/ApplicationTest.java | 4 +-
.../com/alibaba/weex/WeappJsBaseTestCase.java | 4 +-
.../benchmark/BenchmarkActivityTestRule.java | 4 +-
.../alibaba/weex/benchmark/BenchmarkTest.java | 4 +-
.../com/alibaba/weex/benchmark/BoxPlot.java | 4 +-
.../java/com/alibaba/weex/benchmark/Repeat.java | 4 +-
.../com/alibaba/weex/benchmark/RepeatRule.java | 4 +-
.../weex/benchmark/WeexNativeCompareTest.java | 4 +-
.../weex/uitest/TC_AG/AG_AHref_A_Href.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Color.java | 18 +
.../AG_Border_A_Border_Bottom_Left_Radius.java | 18 +
.../AG_Border_A_Border_Bottom_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Style.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Color.java | 18 +
.../AG_Border_A_Border_Top_Left_Radius.java | 18 +
.../AG_Border_A_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Width.java | 18 +
.../AG_Border_Div_Border_Bottom_Color.java | 18 +
...AG_Border_Div_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Div_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Div_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Style.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Color.java | 18 +
.../AG_Border_Div_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Div_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Width.java | 18 +
.../AG_Border_Image_Border_Bottom_Color.java | 18 +
..._Border_Image_Border_Bottom_Left_Radius.java | 18 +
...Border_Image_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Image_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Color.java | 18 +
.../AG_Border_Image_Border_Left_Color.java | 18 +
.../AG_Border_Image_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Radius.java | 18 +
.../AG_Border_Image_Border_Right_Color.java | 18 +
.../AG_Border_Image_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Style.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Color.java | 18 +
.../AG_Border_Image_Border_Top_Left_Radius.java | 18 +
...AG_Border_Image_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Width.java | 18 +
.../AG_Border_Input_Border_Bottom_Color.java | 18 +
..._Border_Input_Border_Bottom_Left_Radius.java | 18 +
...Border_Input_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Input_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Color.java | 18 +
.../AG_Border_Input_Border_Left_Color.java | 18 +
.../AG_Border_Input_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Radius.java | 18 +
.../AG_Border_Input_Border_Right_Color.java | 18 +
.../AG_Border_Input_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Style.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Color.java | 18 +
.../AG_Border_Input_Border_Top_Left_Radius.java | 18 +
...AG_Border_Input_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Width.java | 18 +
.../AG_Border_Switch_Border_Bottom_Color.java | 18 +
...Border_Switch_Border_Bottom_Left_Radius.java | 18 +
...order_Switch_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Radius.java | 18 +
.../AG_Border_Switch_Border_Right_Color.java | 18 +
.../AG_Border_Switch_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Style.java | 18 +
.../AG_Border_Switch_Border_Top_Color.java | 18 +
...AG_Border_Switch_Border_Top_Left_Radius.java | 18 +
...G_Border_Switch_Border_Top_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Width.java | 18 +
.../AG_Border_Text_Border_Bottom_Color.java | 18 +
...G_Border_Text_Border_Bottom_Left_Radius.java | 18 +
..._Border_Text_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Text_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Radius.java | 18 +
.../AG_Border_Text_Border_Right_Color.java | 18 +
.../AG_Border_Text_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Style.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Color.java | 18 +
.../AG_Border_Text_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Text_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Width.java | 18 +
.../AG_Border_Video_Border_Bottom_Color.java | 18 +
..._Border_Video_Border_Bottom_Left_Radius.java | 18 +
...Border_Video_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Video_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Color.java | 18 +
.../AG_Border_Video_Border_Left_Color.java | 18 +
.../AG_Border_Video_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Radius.java | 18 +
.../AG_Border_Video_Border_Right_Color.java | 18 +
.../AG_Border_Video_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Style.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Color.java | 18 +
.../AG_Border_Video_Border_Top_Left_Radius.java | 18 +
...AG_Border_Video_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Width.java | 18 +
.../AG_Border_Web_Border_Bottom_Color.java | 18 +
...AG_Border_Web_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Web_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Web_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Style.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Color.java | 18 +
.../AG_Border_Web_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Web_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Width.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_A_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Div_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Image_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Input_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Switch_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Text_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Video_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Web_If.java | 18 +
.../uitest/TC_AG/AG_CommonEvent_A_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Div_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Image_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Input_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Switch_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Text_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Video_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Web_Onclick.java | 18 +
.../AG_CommonStyle_A_Background_Color.java | 18 +
.../TC_AG/AG_CommonStyle_A_Widthandheight.java | 18 +
.../AG_CommonStyle_Div_Background_Color.java | 18 +
.../AG_CommonStyle_Div_Widthandheight.java | 18 +
.../AG_CommonStyle_Image_Background_Color.java | 18 +
.../AG_CommonStyle_Image_Widthandheight.java | 18 +
.../AG_CommonStyle_Input_Background_Color.java | 18 +
.../AG_CommonStyle_Input_Widthandheight.java | 18 +
.../AG_CommonStyle_Switch_Background_Color.java | 18 +
.../AG_CommonStyle_Switch_Widthandheight.java | 18 +
.../AG_CommonStyle_Text_Background_Color.java | 18 +
.../AG_CommonStyle_Text_Widthandheight.java | 18 +
.../AG_CommonStyle_Video_Background_Color.java | 18 +
.../AG_CommonStyle_Video_Widthandheight.java | 18 +
.../AG_CommonStyle_Web_Background_Color.java | 18 +
.../AG_CommonStyle_Web_Widthandheight.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Click.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Conflict.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Longpress.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Pan.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Swipe.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Touch.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Onload.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Resize.java | 18 +
.../weex/uitest/TC_AG/AG_Image_Image_Src.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Autofocus.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Disabled.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Event.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Style.java | 18 +
.../TC_AG/AG_Input_Input_Font_Weight.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Text_Align.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Type.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Value.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_A_Margin.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Left.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Div_Margin.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Image_Margin.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Input_Margin.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Switch_Margin.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Video_Margin.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Web_Margin.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Checked.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Onchange.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Color.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Style.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Weight.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Line_Height.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Text_Align.java | 18 +
.../TC_AG/AG_Text_Text_Text_Decoration.java | 18 +
.../TC_AG/AG_Text_Text_Text_Overflow.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Value.java | 18 +
.../uitest/TC_AG/AG_Video_Video_Auto_Play.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Event.java | 18 +
.../TC_AG/AG_Video_Video_Play_Status.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Src.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Event.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Src.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefEvent.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefStyle.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefUpdate.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorType.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorUpdate.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVTrue.java | 18 +
.../TC_Image/WeexUiTestCaseTcImageUpdate.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputEvent.java | 18 +
.../WeexUiTestCaseTcInputPlaceholder.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputStyle.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputType.java | 18 +
.../TC_Slider/WeexUiTestCaseTcSlider.java | 18 +
.../WeexUiTestCaseTcTextStyleColumn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleOwn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleRow.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextType.java | 18 +
.../weex/uitest/WeexUiTestCaseTcElementOpt.java | 18 +
.../java/com/alibaba/weex/util/Falcon.java | 4 +-
.../java/com/alibaba/weex/util/ScreenShot.java | 4 +-
.../com/alibaba/weex/util/SdCardHelper.java | 4 +-
.../java/com/alibaba/weex/util/TestFlow.java | 4 +-
.../java/com/alibaba/weex/util/ViewUtil.java | 4 +-
.../playground/app/src/main/AndroidManifest.xml | 18 +
.../main/res/drawable-v21/ic_menu_camera.xml | 18 +
.../main/res/drawable-v21/ic_menu_gallery.xml | 18 +
.../main/res/drawable-v21/ic_menu_manage.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_send.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_share.xml | 18 +
.../main/res/drawable-v21/ic_menu_slideshow.xml | 18 +
.../app/src/main/res/drawable/side_nav_bar.xml | 18 +
.../src/main/res/layout/activity_dynamic.xml | 18 +
.../app/src/main/res/layout/activity_index.xml | 18 +
.../app/src/main/res/layout/activity_splash.xml | 18 +
.../app/src/main/res/layout/activity_wxpage.xml | 18 +
.../app/src/main/res/layout/app_bar_main.xml | 18 +
.../app/src/main/res/layout/camera.xml | 18 +
.../app/src/main/res/layout/catalog_item.xml | 18 +
.../app/src/main/res/layout/content_dynamic.xml | 18 +
.../app/src/main/res/layout/content_main.xml | 18 +
.../app/src/main/res/layout/content_wx_main.xml | 18 +
.../app/src/main/res/layout/hello_weex.xml | 222 +----
.../app/src/main/res/layout/id_stub.xml | 18 +
.../playground/app/src/main/res/menu/main.xml | 18 +
.../app/src/main/res/menu/main_scan.xml | 18 +
.../app/src/main/res/menu/refresh.xml | 18 +
.../app/src/main/res/values-v21/styles.xml | 20 +-
.../app/src/main/res/values-w820dp/dimens.xml | 18 +
.../app/src/main/res/values/attrs.xml | 18 +
.../app/src/main/res/values/colors.xml | 18 +
.../app/src/main/res/values/dimens.xml | 18 +
.../app/src/main/res/values/drawables.xml | 18 +
.../src/main/res/values/scan_code_styles.xml | 18 +
.../app/src/main/res/values/strings.xml | 18 +
.../app/src/main/res/values/styles.xml | 18 +
android/playground/codeStyleSettings.xml | 18 +
android/sdk/config/quality/checkstyle.xml | 18 +
android/sdk/src/main/AndroidManifest.xml | 18 +
.../main/java/com/taobao/weex/WXSDKEngine.java | 4 +-
android/sdk/src/main/res/values/strings.xml | 222 +----
android/weex_debug/src/main/AndroidManifest.xml | 18 +
.../drawable/leak_canary_toast_background.xml | 18 +
.../res/drawable/prettyfish_bg_floatmenu.xml | 18 +
.../main/res/drawable/prettyfish_coordrect.xml | 18 +
.../src/main/res/drawable/prettyfish_fab.xml | 18 +
.../main/res/layout/prettyfish_coordview.xml | 18 +
.../main/res/layout/prettyfish_coverview.xml | 18 +
.../main/res/layout/prettyfish_datachart.xml | 18 +
.../main/res/layout/prettyfish_datafilelist.xml | 18 +
.../main/res/layout/prettyfish_datafilerow.xml | 18 +
.../src/main/res/layout/prettyfish_datarow.xml | 18 +
.../src/main/res/layout/prettyfish_detail.xml | 18 +
.../main/res/layout/prettyfish_filedetail.xml | 18 +
.../src/main/res/layout/prettyfish_filelist.xml | 18 +
.../src/main/res/layout/prettyfish_filerow.xml | 18 +
.../res/layout/prettyfish_floatmenu_item.xml | 18 +
.../res/layout/prettyfish_floatmenuview.xml | 18 +
.../main/res/layout/prettyfish_recordview.xml | 18 +
.../src/main/res/layout/prettyfish_table.xml | 18 +
.../main/res/layout/prettyfish_tableitem.xml | 18 +
.../src/main/res/layout/prettyfish_uedgird.xml | 18 +
.../weex_debug/src/main/res/values/attrs.xml | 18 +
.../weex_debug/src/main/res/values/colors.xml | 18 +
.../weex_debug/src/main/res/values/dimens.xml | 18 +
.../weex_debug/src/main/res/values/strings.xml | 18 +
build/build.js | 18 +
build/config.js | 18 +
build/examples-banner-plugin.js | 18 +
build/karma.vue.conf.js | 18 +
build/nightwatch.config.js | 19 +-
build/rollup.browser.common.config.js | 18 +
build/webpack.ci.config.js | 18 +
build/webpack.ci.web.config.js | 18 +
build/webpack.deprecatedmacacatest.config.js | 18 +
build/webpack.examples.config.js | 18 +
build/webpack.examples.web.config.js | 20 +-
build/webpack.test.config.js | 18 +
build/webpack.test.web.config.js | 18 +
build/webpack.vue.config.js | 18 +
dangerfile.js | 18 +
doc/_config.yml | 4 +
doc/package.json | 4 +-
doc/source/cn/guide/integrate-to-your-app.md | 11 +-
doc/source/cn/guide/set-up-env.md | 2 +-
doc/source/cn/guide/tools/devtools.md | 111 ---
doc/source/cn/guide/tools/index.md | 3 +-
doc/source/cn/guide/tools/toolkit.md | 231 +++++
doc/source/cn/guide/tools/weexpack.md | 388 ---------
.../cn/references/advanced/extend-to-ios.md | 84 +-
doc/source/cn/references/common-style.md | 82 +-
doc/source/cn/references/components/input.md | 14 +-
doc/source/cn/references/components/refresh.md | 9 +-
.../cn/references/components/waterfall.md | 69 ++
doc/source/cn/references/components/web.md | 11 +-
doc/source/cn/references/modules/dom.md | 78 +-
doc/source/cn/references/modules/webview.md | 11 +-
doc/source/cn/releasenote.md | 858 +++++++++++++++++++
doc/source/examples/dom-rect.md | 73 +-
doc/source/guide/integrate-to-your-app.md | 7 +-
doc/source/guide/set-up-env.md | 2 +-
doc/source/guide/tools/devtools.md | 100 ---
doc/source/guide/tools/index.md | 3 +-
doc/source/guide/tools/toolkit.md | 198 +++++
doc/source/guide/tools/weexpack.md | 300 -------
doc/source/references/advanced/extend-to-ios.md | 70 +-
doc/source/references/common-style.md | 71 +-
doc/source/references/components/input.md | 23 +-
doc/source/references/components/refresh.md | 11 +-
doc/source/references/components/waterfall.md | 60 ++
doc/source/references/components/web.md | 13 +-
doc/source/references/modules/dom.md | 78 +-
doc/source/references/modules/webview.md | 11 +-
doc/source/releasenote.md | 858 +++++++++++++++++++
doc/source/v-0.10/references/components/list.md | 11 +-
.../references/components/refresh-loading.md | 13 +-
doc/themes/weex/languages/cn.yml | 2 +
doc/themes/weex/languages/en.yml | 2 +
doc/themes/weex/layout/_partial/footer.ejs | 14 +-
doc/themes/weex/layout/_partial/header.ejs | 17 +-
doc/themes/weex/layout/playground.ejs | 2 +-
doc/themes/weex/source/css/common.scss | 4 +-
doc/themes/weex/source/css/partial/article.scss | 4 +
doc/themes/weex/source/css/partial/footer.scss | 18 +-
examples/vanilla/index.js | 19 +-
examples/vue/include/base-url.js | 18 +
examples/vue/showcase/include/util.js | 18 +
.../vue/components/scrollable/list/style.js | 18 +
html5/render/vue/core/index.js | 18 +
html5/render/vue/core/node.js | 19 +
html5/render/vue/core/style.js | 18 +
html5/render/vue/env/global.js | 18 +
html5/render/vue/modules/modal/style.js | 18 +
html5/test/case/basic/append-root.source.js | 21 +-
html5/test/case/basic/append.source.js | 18 +
html5/test/case/basic/backward1.source.js | 20 +-
html5/test/case/basic/backward2.source.js | 20 +-
html5/test/case/basic/components.source.js | 18 +
.../case/basic/computed-in-repeat.source.js | 20 +-
html5/test/case/basic/created.source.js | 20 +-
html5/test/case/basic/dynamic-id.source.js | 18 +
.../test/case/basic/dynamic-property.source.js | 18 +
html5/test/case/basic/dynamic-type.source.js | 18 +
html5/test/case/basic/foo.source.js | 20 +-
html5/test/case/basic/foo2.source.js | 20 +-
html5/test/case/basic/foo3.source.js | 20 +-
html5/test/case/basic/foo4.source.js | 20 +-
html5/test/case/basic/foo5.source.js | 20 +-
html5/test/case/basic/foo6.source.js | 20 +-
html5/test/case/basic/foo7.source.js | 20 +-
html5/test/case/basic/foo8.source.js | 18 +
html5/test/case/basic/foo9.source.js | 20 +-
.../case/basic/global-weex-object.source.js | 18 +
html5/test/case/basic/id.source.js | 18 +
html5/test/case/basic/if-repeat.source.js | 20 +-
html5/test/case/basic/if-root.source.js | 18 +
html5/test/case/basic/if.source.js | 20 +-
html5/test/case/basic/promise.source.js | 18 +
html5/test/case/basic/ready.source.js | 20 +-
html5/test/case/basic/repeat-array-kv.source.js | 18 +
.../case/basic/repeat-array-no-kv.source.js | 18 +
.../case/basic/repeat-array-non-obj.source.js | 18 +
html5/test/case/basic/repeat-array-v.source.js | 18 +
html5/test/case/basic/repeat-index.source.js | 18 +
html5/test/case/basic/repeat-root.source.js | 18 +
html5/test/case/basic/repeat-watch.source.js | 20 +-
html5/test/case/basic/require.source.js | 18 +
html5/test/case/basic/reset-style.source.js | 18 +
html5/test/case/basic/static1.source.js | 18 +
html5/test/case/basic/static2.source.js | 18 +
html5/test/case/basic/static3.source.js | 18 +
html5/test/case/basic/static4.source.js | 18 +
html5/test/case/basic/subvm.source.js | 18 +
html5/test/case/basic/transformer1.source.js | 20 +-
.../case/complex/append-root-event.source.js | 19 +-
html5/test/case/complex/click.source.js | 20 +-
html5/test/case/complex/computed.source.js | 18 +
html5/test/case/complex/if-refresh.source.js | 20 +-
.../case/complex/if-repeat-refresh.source.js | 20 +-
html5/test/case/complex/inline-click.source.js | 20 +-
html5/test/case/complex/input-binding.source.js | 18 +
html5/test/case/complex/refresh2.source.js | 19 +-
.../test/case/complex/repeat-track-by.source.js | 18 +
html5/test/case/complex/transformer2.source.js | 20 +-
html5/test/case/complex/transformer3.source.js | 20 +-
.../case/multi/clear-dep-target-error.source.js | 18 +
.../case/multi/clear-dep-target-fine.source.js | 18 +
html5/test/case/multi/clear-moduleA.source.js | 18 +
html5/test/case/multi/clear-moduleB.source.js | 18 +
html5/test/case/prepare.js | 18 +
html5/test/case/signals/modal.source.js | 18 +
html5/test/case/signals/signals-long.source.js | 18 +
html5/test/case/signals/signals.source.js | 18 +
html5/test/case/signals/timer.source.js | 18 +
html5/test/case/tester.js | 18 +
.../test/case/throws/global-variable1.source.js | 18 +
.../test/case/throws/global-variable2.source.js | 18 +
.../test/case/throws/global-variable3.source.js | 18 +
html5/test/e2e/runner.js | 18 +
html5/test/e2e/specs/index.js | 18 +
html5/test/render/vue/components/a.js | 18 +
html5/test/render/vue/components/div.js | 18 +
html5/test/render/vue/components/image.js | 18 +
html5/test/render/vue/components/list.js | 18 +
html5/test/render/vue/components/switch.js | 18 +
html5/test/render/vue/components/text.js | 18 +
html5/test/render/vue/components/web.js | 18 +
html5/test/render/vue/core/scope-style-map.js | 18 +
html5/test/render/vue/core/style.js | 18 +
.../vue/data/build/dotvue/scoped-style.js | 20 +-
html5/test/render/vue/data/head-css.js | 18 +
html5/test/render/vue/data/head-map.js | 18 +
html5/test/render/vue/examples/list-cell.js | 18 +
html5/test/render/vue/helper/env.js | 18 +
html5/test/render/vue/helper/index.js | 18 +
html5/test/render/vue/helper/runtime.js | 18 +
html5/test/render/vue/helper/utils.js | 18 +
html5/test/render/vue/utils/func.js | 18 +
html5/test/render/vue/utils/style.js | 18 +
html5/test/render/vue/validator/check.js | 18 +
html5/test/render/vue/validator/index.js | 18 +
html5/test/render/vue/validator/prop.js | 18 +
html5/test/render/vue/validator/style.js | 18 +
html5/test/unit/default/api/methods.js | 18 +
html5/test/unit/default/api/modules.js | 18 +
html5/test/unit/default/app/bundle.js | 18 +
html5/test/unit/default/app/ctrl.js | 18 +
html5/test/unit/default/app/downgrade.js | 18 +
html5/test/unit/default/app/index.js | 18 +
html5/test/unit/default/app/register.js | 18 +
html5/test/unit/default/app/viewport.js | 18 +
html5/test/unit/default/helper/document.js | 19 +-
html5/test/unit/default/runtime.js | 18 +
html5/test/unit/default/util/index.js | 18 +
html5/test/unit/default/util/shared.js | 18 +
html5/test/unit/default/vm/compiler.js | 18 +
html5/test/unit/default/vm/directive.js | 18 +
html5/test/unit/default/vm/dom-helper.js | 18 +
html5/test/unit/default/vm/events.js | 18 +
html5/test/unit/default/vm/vm.js | 18 +
html5/test/unit/shared/BroadcastChannel.js | 18 +
html5/test/unit/shared/arrayFrom.js | 18 +
html5/test/unit/shared/console.js | 18 +
html5/test/unit/shared/index.js | 18 +
html5/test/unit/shared/objectAssign.js | 18 +
html5/test/unit/shared/objectSetPrototypeOf.js | 18 +
html5/test/unit/vanilla/index.js | 18 +
html5/test/unit/vdom/index.js | 18 +
html5/test/unit/vdom/listener.js | 18 +
html5/test/unit/vdom/node.js | 18 +
.../WeexDemo.xcodeproj/project.pbxproj | 18 +-
.../WeexDemo/Scanner/WXScannerHistoryVC.h | 21 +-
.../WeexDemo/Scanner/WXScannerHistoryVC.m | 21 +-
ios/playground/WeexDemo/Scanner/WXScannerVC.h | 4 +-
ios/playground/WeexDemo/Scanner/WXScannerVC.m | 4 +-
ios/playground/WeexDemoTests/WeexDemoTests.m | 21 +-
.../WeexUITestDemoUITests.m | 21 +-
.../Component/Recycler/WXMultiColumnLayout.h | 4 +-
.../Component/Recycler/WXMultiColumnLayout.m | 4 +-
.../Component/Recycler/WXRecyclerComponent.h | 4 +-
.../Component/Recycler/WXRecyclerComponent.m | 4 +-
.../Recycler/WXRecyclerDataController.h | 4 +-
.../Recycler/WXRecyclerDataController.m | 4 +-
.../Recycler/WXRecyclerUpdateController.h | 4 +-
.../Recycler/WXRecyclerUpdateController.m | 4 +-
.../Recycler/WXSectionDataController.h | 4 +-
.../Recycler/WXSectionDataController.m | 4 +-
.../WeexSDK/Sources/Component/WXAComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXAComponent.m | 4 +-
.../Sources/Component/WXCanvasComponent.h | 4 +-
.../Sources/Component/WXCanvasComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXCellComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXCellComponent.m | 4 +-
.../Sources/Component/WXComponent_internal.h | 4 +-
.../Sources/Component/WXCycleSliderComponent.h | 21 +-
.../Sources/Component/WXCycleSliderComponent.m | 21 +-
.../WeexSDK/Sources/Component/WXDivComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXDivComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXEditComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXEditComponent.m | 4 +-
.../Sources/Component/WXEmbedComponent.h | 4 +-
.../Sources/Component/WXEmbedComponent.m | 4 +-
.../Sources/Component/WXFooterComponent.h | 4 +-
.../Sources/Component/WXFooterComponent.m | 4 +-
.../Sources/Component/WXHeaderComponent.h | 4 +-
.../Sources/Component/WXHeaderComponent.m | 4 +-
.../Sources/Component/WXImageComponent.h | 4 +-
.../Sources/Component/WXImageComponent.m | 4 +-
.../Sources/Component/WXIndicatorComponent.h | 4 +-
.../Sources/Component/WXIndicatorComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXListComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXListComponent.m | 4 +-
.../Sources/Component/WXLoadingComponent.h | 4 +-
.../Sources/Component/WXLoadingComponent.m | 4 +-
.../Sources/Component/WXLoadingIndicator.h | 4 +-
.../Sources/Component/WXLoadingIndicator.m | 4 +-
.../Sources/Component/WXRefreshComponent.h | 4 +-
.../Sources/Component/WXRefreshComponent.m | 4 +-
.../Sources/Component/WXScrollerComponent.h | 4 +-
.../Sources/Component/WXScrollerComponent.m | 4 +-
.../Sources/Component/WXSliderComponent.h | 4 +-
.../Sources/Component/WXSliderComponent.m | 4 +-
.../Component/WXSliderNeighborComponent.h | 4 +-
.../Component/WXSliderNeighborComponent.m | 4 +-
.../Sources/Component/WXSwitchComponent.h | 4 +-
.../Sources/Component/WXSwitchComponent.m | 4 +-
.../Sources/Component/WXTextAreaComponent.h | 4 +-
.../Sources/Component/WXTextAreaComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXTextComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXTextComponent.m | 4 +-
.../Sources/Component/WXTextInputComponent.h | 4 +-
.../Sources/Component/WXTextInputComponent.m | 4 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.h | 4 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.m | 4 +-
.../Sources/Component/WXVideoComponent.h | 4 +-
.../Sources/Component/WXVideoComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXWebComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXWebComponent.m | 4 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m | 1 -
ios/sdk/WeexSDKTests/TestSupportUtils.h | 21 +-
ios/sdk/WeexSDKTests/TestSupportUtils.m | 21 +-
ios/sdk/WeexSDKTests/WXAnimationModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXBridgeMethodTests.m | 21 +-
ios/sdk/WeexSDKTests/WXComponentTests.m | 21 +-
ios/sdk/WeexSDKTests/WXConvertTests.m | 25 +-
ios/sdk/WeexSDKTests/WXFloatCompareTests.m | 25 +-
ios/sdk/WeexSDKTests/WXInstanceWrapTests.m | 21 +-
ios/sdk/WeexSDKTests/WXRootViewTests.m | 25 +-
ios/sdk/WeexSDKTests/WXSDKEngineTests.m | 21 +-
ios/sdk/WeexSDKTests/WXSDKManagerTests.m | 21 +-
ios/sdk/WeexSDKTests/WXStorageTests.m | 25 +-
ios/sdk/WeexSDKTests/WXStreamModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXTimerModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXURLRewriteTests.m | 25 +-
ios/sdk/WeexSDKTests/WeexSDKTests.m | 21 +-
scripts/rat-ant-build.xml | 33 +-
test/scripts/components/image-onload.test.js | 18 +
test/scripts/components/recycler.test.js | 18 +
test/scripts/components/scroll-event.test.js | 18 +
test/scripts/components/scroller-fixed.test.js | 20 +-
test/scripts/components/slider-infinite.test.js | 18 +
.../components/textarea-maxlength.test.js | 20 +-
test/scripts/dom.test.js | 18 +
test/scripts/index.test.js | 18 +
test/scripts/util.js | 18 +
618 files changed, 11978 insertions(+), 1814 deletions(-)
----------------------------------------------------------------------
[8/8] incubator-weex git commit: Merge branch '0.12-dev' of
https://github.com/acton393/incubator-weex into 0.12-dev
Posted by bo...@apache.org.
Merge branch '0.12-dev' of https://github.com/acton393/incubator-weex into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/24ef3af9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/24ef3af9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/24ef3af9
Branch: refs/heads/0.12-dev
Commit: 24ef3af9445f933a63412699d8eb5696907e081f
Parents: 8ce111a aaa189f
Author: bobning <ni...@163.com>
Authored: Tue Apr 18 17:50:49 2017 +0800
Committer: bobning <ni...@163.com>
Committed: Tue Apr 18 17:50:49 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 +
.../Sources/View/WXComponent+ViewManagement.m | 4 +--
ios/sdk/WeexSDK/Sources/WeexSDK.h | 33 ++++++++++----------
ios/sdk/buildScripts.sh | 25 ++++++++++-----
5 files changed, 39 insertions(+), 26 deletions(-)
----------------------------------------------------------------------
[4/8] incubator-weex git commit: * [ios] update license header script
Posted by bo...@apache.org.
* [ios] update license header script
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e4333210
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e4333210
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e4333210
Branch: refs/heads/0.12-dev
Commit: e43332101477b45ff544df7219111efaeac3c3b0
Parents: b0260a2
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 11:06:58 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 11:06:58 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/WeexSDK.h | 33 +++++++++++++++++----------------
ios/sdk/buildScripts.sh | 25 ++++++++++++++++++-------
2 files changed, 35 insertions(+), 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e4333210/ios/sdk/WeexSDK/Sources/WeexSDK.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/WeexSDK.h b/ios/sdk/WeexSDK/Sources/WeexSDK.h
index 400324e..d8ac443 100644
--- a/ios/sdk/WeexSDK/Sources/WeexSDK.h
+++ b/ios/sdk/WeexSDK/Sources/WeexSDK.h
@@ -1,20 +1,20 @@
/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
*/
#ifdef __OBJC__
@@ -48,6 +48,7 @@
#import "WXDefine.h"
#import "WXDebugTool.h"
#import "WXConvert.h"
+#import "WXConfigProtocol.h"
#import "WXComponentManager.h"
#import "WXComponent.h"
#import "WXBridgeProtocol.h"
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e4333210/ios/sdk/buildScripts.sh
----------------------------------------------------------------------
diff --git a/ios/sdk/buildScripts.sh b/ios/sdk/buildScripts.sh
index 8e168b4..8f8fe80 100644
--- a/ios/sdk/buildScripts.sh
+++ b/ios/sdk/buildScripts.sh
@@ -5,12 +5,23 @@
function generateFileHeader() {
headerFilePath=$1
headerFileName=`basename $1`
- echo '/**' > $headerFilePath
- echo ' * Created by Weex.' >> $headerFilePath
- echo ' * Copyright (c) 2016, Alibaba, Inc. All rights reserved.' >> $headerFilePath
- echo ' * ' >> $headerFilePath
- echo ' * This source code is licensed under the Apache Licence 2.0.' >> $headerFilePath
- echo ' * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.' >> $headerFilePath
+ echo '/*' > $headerFilePath
+echo '* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.' >> $headerFilePath
echo ' */' >> $headerFilePath
echo '' >> $headerFilePath
echo '#ifdef __OBJC__' >> $headerFilePath
@@ -101,4 +112,4 @@ function generateSDKHeader() {
rm $publicHeaderFilePath
fi
generateHeader "${PROJECT_DIR}/${PROJECT_NAME}.xcodeproj" "${publicHeaderFilePath}" 'Public' $sdkName
-}
\ No newline at end of file
+}
[5/8] incubator-weex git commit: * [ios] add config for
componentWithName
Posted by bo...@apache.org.
* [ios] add config for componentWithName
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/b2d38557
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/b2d38557
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/b2d38557
Branch: refs/heads/0.12-dev
Commit: b2d38557969853b34e4b803ea2aba7a02500d4b3
Parents: e433321
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 11:09:31 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 11:09:31 2017 +0800
----------------------------------------------------------------------
.../Sources/Handler/WXConfigDefaultImpl.h | 26 ++++++++++
.../Sources/Handler/WXConfigDefaultImpl.m | 54 ++++++++++++++++++++
.../Sources/Manager/WXComponentFactory.m | 7 +++
.../WeexSDK/Sources/Protocol/WXConfigProtocol.h | 27 ++++++++++
4 files changed, 114 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
new file mode 100644
index 0000000..ccd7280
--- /dev/null
+++ b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#import <Foundation/Foundation.h>
+
+#import "WXConfigProtocol.h"
+
+@interface WXConfigDefaultImpl : NSObject<WXConfigProtocol>
+
+@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
new file mode 100644
index 0000000..1d2ebf5
--- /dev/null
+++ b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#import "WXConfigDefaultImpl.h"
+#import "WXThreadSafeMutableDictionary.h"
+#import "WXUtility.h"
+
+@interface WXConfigDefaultImpl()
+@property(nonatomic, strong) WXThreadSafeMutableDictionary* configDic;
+@end
+@implementation WXConfigDefaultImpl
+
+- (instancetype)init
+{
+ if (self = [super init]) {
+ _configDic = [WXThreadSafeMutableDictionary new];
+ }
+
+ return self;
+}
+
+- (void)setClassWithName:(Class)className name:(NSString *)name
+{
+ if (![WXUtility isBlankString:name] && className) {
+ [_configDic setObject:className forKey:name];
+ }
+}
+
+- (Class)classWithName:(NSString *)name
+{
+ if (![WXUtility isBlankString:name]) {
+ return [_configDic objectForKey:name];
+ }
+
+ return nil;
+}
+
+@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
index aa79bad..7589dfe 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
@@ -21,6 +21,8 @@
#import "WXAssert.h"
#import "WXLog.h"
#import "WXInvocationConfig.h"
+#import "WXHandlerFactory.h"
+#import "WXConfigProtocol.h"
#import <objc/runtime.h>
@@ -189,6 +191,11 @@
if(!config || !config.clazz) {
return nil;
}
+ id<WXConfigProtocol> configHandler = [WXHandlerFactory handlerForProtocol:NSProtocolFromString(@"WXConfigProtocol")];
+
+ if ([configHandler respondsToSelector:@selector(classWithName:)]) {
+ return [configHandler classWithName:name];
+ }
return NSClassFromString(config.clazz);
}
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h b/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
new file mode 100644
index 0000000..a4a9e93
--- /dev/null
+++ b/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@protocol WXConfigProtocol <NSObject>
+
+@optional
+
+- (Class)classWithName:(NSString*)name;
+- (void)setClassWithName:(Class)className name:(NSString*)name;
+
+@end
[6/8] incubator-weex git commit: * [ios] remove white space
Posted by bo...@apache.org.
* [ios] remove white space
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f446000c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f446000c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f446000c
Branch: refs/heads/0.12-dev
Commit: f446000cdfd468d6a083f7563b987e5f224a6869
Parents: b2d3855
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 11:21:03 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 11:21:03 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 +
ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f446000c/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
index 048e7bc..d2c2e1a 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
@@ -343,6 +343,7 @@ static BOOL WXNotStat;
{
NSMutableDictionary * linearGradient = nil;
if ([backgroundImage hasPrefix:@"linear-gradient"] && [backgroundImage hasSuffix:@")"] ) {
+ backgroundImage = [backgroundImage stringByReplacingOccurrencesOfString:@" " withString:@""];
NSRange range = NSMakeRange(16, backgroundImage.length - 17);
NSString *str = [backgroundImage substringWithRange:range];
NSArray *array = [str componentsSeparatedByString:@","];
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f446000c/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
index 55e76b0..88f03d4 100644
--- a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
+++ b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
@@ -107,7 +107,7 @@
- (void)_initViewPropertyWithStyles:(NSDictionary *)styles
{
_backgroundColor = styles[@"backgroundColor"] ? [WXConvert UIColor:styles[@"backgroundColor"]] : [UIColor clearColor];
- _backgroundImage = styles[@"backgroundImage"] ? [[WXConvert NSString:styles[@"backgroundImage"]]stringByReplacingOccurrencesOfString:@" " withString:@""]: nil;
+ _backgroundImage = styles[@"backgroundImage"] ? [WXConvert NSString:styles[@"backgroundImage"]]: nil;
_opacity = styles[@"opacity"] ? [WXConvert CGFloat:styles[@"opacity"]] : 1.0;
_clipToBounds = styles[@"overflow"] ? [WXConvert WXClipType:styles[@"overflow"]] : NO;
_visibility = styles[@"visibility"] ? [WXConvert WXVisibility:styles[@"visibility"]] : WXVisibilityShow;
@@ -137,7 +137,7 @@
}
if (styles[@"backgroundImage"]) {
- _backgroundImage = styles[@"backgroundImage"] ? [[WXConvert NSString:styles[@"backgroundImage"]]stringByReplacingOccurrencesOfString:@" " withString:@""]: nil;
+ _backgroundImage = styles[@"backgroundImage"] ? [WXConvert NSString:styles[@"backgroundImage"]]: nil;
if (_backgroundImage) {
[self setGradientLayer];
[3/8] incubator-weex git commit: Merge remote-tracking branch
'upstream/0.12-dev' into 0.12-dev
Posted by bo...@apache.org.
Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/b0260a2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/b0260a2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/b0260a2e
Branch: refs/heads/0.12-dev
Commit: b0260a2e20780f0770a7681a46e6c8682defcc17
Parents: 8b0f4a8 ca6a9ff
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 10:13:36 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 10:13:36 2017 +0800
----------------------------------------------------------------------
.../com/taobao/weex/ui/component/WXEmbed.java | 2 +-
.../Sources/Component/WXSliderComponent.m | 53 +++-----------------
2 files changed, 9 insertions(+), 46 deletions(-)
----------------------------------------------------------------------
[7/8] incubator-weex git commit: Revert "* [ios] add config for
componentWithName"
Posted by bo...@apache.org.
Revert "* [ios] add config for componentWithName"
This reverts commit b2d38557969853b34e4b803ea2aba7a02500d4b3.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/aaa189f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/aaa189f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/aaa189f8
Branch: refs/heads/0.12-dev
Commit: aaa189f8181d27afd993fa39c53362f7d954ed77
Parents: f446000
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 17:43:53 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 17:43:53 2017 +0800
----------------------------------------------------------------------
.../Sources/Handler/WXConfigDefaultImpl.h | 26 ----------
.../Sources/Handler/WXConfigDefaultImpl.m | 54 --------------------
.../Sources/Manager/WXComponentFactory.m | 7 ---
.../WeexSDK/Sources/Protocol/WXConfigProtocol.h | 27 ----------
4 files changed, 114 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
deleted file mode 100644
index ccd7280..0000000
--- a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#import <Foundation/Foundation.h>
-
-#import "WXConfigProtocol.h"
-
-@interface WXConfigDefaultImpl : NSObject<WXConfigProtocol>
-
-@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
deleted file mode 100644
index 1d2ebf5..0000000
--- a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#import "WXConfigDefaultImpl.h"
-#import "WXThreadSafeMutableDictionary.h"
-#import "WXUtility.h"
-
-@interface WXConfigDefaultImpl()
-@property(nonatomic, strong) WXThreadSafeMutableDictionary* configDic;
-@end
-@implementation WXConfigDefaultImpl
-
-- (instancetype)init
-{
- if (self = [super init]) {
- _configDic = [WXThreadSafeMutableDictionary new];
- }
-
- return self;
-}
-
-- (void)setClassWithName:(Class)className name:(NSString *)name
-{
- if (![WXUtility isBlankString:name] && className) {
- [_configDic setObject:className forKey:name];
- }
-}
-
-- (Class)classWithName:(NSString *)name
-{
- if (![WXUtility isBlankString:name]) {
- return [_configDic objectForKey:name];
- }
-
- return nil;
-}
-
-@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
index 7589dfe..aa79bad 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
@@ -21,8 +21,6 @@
#import "WXAssert.h"
#import "WXLog.h"
#import "WXInvocationConfig.h"
-#import "WXHandlerFactory.h"
-#import "WXConfigProtocol.h"
#import <objc/runtime.h>
@@ -191,11 +189,6 @@
if(!config || !config.clazz) {
return nil;
}
- id<WXConfigProtocol> configHandler = [WXHandlerFactory handlerForProtocol:NSProtocolFromString(@"WXConfigProtocol")];
-
- if ([configHandler respondsToSelector:@selector(classWithName:)]) {
- return [configHandler classWithName:name];
- }
return NSClassFromString(config.clazz);
}
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h b/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
deleted file mode 100644
index a4a9e93..0000000
--- a/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-@protocol WXConfigProtocol <NSObject>
-
-@optional
-
-- (Class)classWithName:(NSString*)name;
-- (void)setClassWithName:(Class)className name:(NSString*)name;
-
-@end