You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/08/24 15:01:21 UTC
incubator-weex git commit: * [doc] update document about integration
Repository: incubator-weex
Updated Branches:
refs/heads/dev 9eda7b7e4 -> fa820893b
* [doc] update document about integration
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/fa820893
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/fa820893
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/fa820893
Branch: refs/heads/dev
Commit: fa820893b55fd72e2eb243e6bed4ca3b2e09d4b2
Parents: 9eda7b7
Author: acton393 <zh...@gmail.com>
Authored: Thu Aug 24 23:01:44 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Aug 24 23:01:44 2017 +0800
----------------------------------------------------------------------
doc/source/cn/guide/integrate-to-your-app.md | 6 +++---
doc/source/guide/integrate-to-your-app.md | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fa820893/doc/source/cn/guide/integrate-to-your-app.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/guide/integrate-to-your-app.md b/doc/source/cn/guide/integrate-to-your-app.md
index 22f632a..318301c 100644
--- a/doc/source/cn/guide/integrate-to-your-app.md
+++ b/doc/source/cn/guide/integrate-to-your-app.md
@@ -256,8 +256,8 @@ WXSample地址
[WXAppConfiguration setAppName:@"WeexDemo"];
[WXAppConfiguration setAppVersion:@"1.0.0"];
-//init sdk enviroment
-[WXSDKEngine initSDKEnviroment];
+//init sdk environment
+[WXSDKEngine initSDKEnvironment];
//register custom module and component,optional
[WXSDKEngine registerComponent:@"MyView" withClass:[MyViewComponent class]];
@@ -298,7 +298,7 @@ Weex 支持整体页面渲染和部分渲染两种模式,你需要做的事情
_instance.renderFinish = ^ (UIView *view) {
//process renderFinish
};
- NSURL *url = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"js"]
+ NSURL *url = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"js"];
[_instance renderWithURL:url options:@{@"bundleUrl":[self.url absoluteString]} data:nil];
}
```
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fa820893/doc/source/guide/integrate-to-your-app.md
----------------------------------------------------------------------
diff --git a/doc/source/guide/integrate-to-your-app.md b/doc/source/guide/integrate-to-your-app.md
index 402ebe3..d458ac0 100644
--- a/doc/source/guide/integrate-to-your-app.md
+++ b/doc/source/guide/integrate-to-your-app.md
@@ -224,8 +224,8 @@ In the AppDelegate.m file to do the initialization operation, usually in the did
[WXAppConfiguration setAppGroup:@"AliApp"];
[WXAppConfiguration setAppName:@"WeexDemo"];
[WXAppConfiguration setAppVersion:@"1.0.0"];
-//init sdk enviroment
-[WXSDKEngine initSDKEnviroment];
+//init sdk environment
+[WXSDKEngine initSDKEnvironment];
//register custom module and component,optional
[WXSDKEngine registerComponent:@"MyView" withClass:[MyViewComponent class]];
[WXSDKEngine registerModule:@"event" withClass:[WXEventModule class]];
@@ -259,7 +259,7 @@ Weex supports both full page rendering and partial rendering. What you need to d
_instance.renderFinish = ^ (UIView *view) {
//process renderFinish
};
- NSURL *url = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"js"]
+ NSURL *url = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"js"];
[_instance renderWithURL:url options:@{@"bundleUrl":[self.url absoluteString]} data:nil];
}
```