You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/06/02 06:03:54 UTC

[14/46] incubator-weex git commit: Update EN integrate-to-your-app section 渲染 weex 实例

Update EN integrate-to-your-app section 渲染 weex 实例


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/061178cc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/061178cc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/061178cc

Branch: refs/heads/master
Commit: 061178cc447765f121726ba37ca9a3c280a98a79
Parents: 4f91f1a
Author: w11p3333 <ap...@gmail.com>
Authored: Tue May 16 09:32:08 2017 +0800
Committer: w11p3333 <ap...@gmail.com>
Committed: Tue May 16 09:32:08 2017 +0800

----------------------------------------------------------------------
 doc/source/guide/integrate-to-your-app.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/061178cc/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 55cbc64..402ebe3 100644
--- a/doc/source/guide/integrate-to-your-app.md
+++ b/doc/source/guide/integrate-to-your-app.md
@@ -250,6 +250,7 @@ Weex supports both full page rendering and partial rendering. What you need to d
     __weak typeof(self) weakSelf = self;
     _instance.onCreate = ^(UIView *view) {
         [weakSelf.weexView removeFromSuperview];
+        weakSelf.weexView = view;
         [weakSelf.view addSubview:weakSelf.weexView];
     };
     _instance.onFailed = ^(NSError *error) {