You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ha...@apache.org on 2018/12/06 09:28:16 UTC

[incubator-weex] branch master updated: [jsfm] add __updateComponentData to TaskCenter (#1873)

This is an automated email from the ASF dual-hosted git repository.

hanks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new 216d437  [jsfm] add __updateComponentData to TaskCenter (#1873)
216d437 is described below

commit 216d437c48cff60e1c2307c14a953f63d146b031
Author: Zhenfei You <he...@imyzf.com>
AuthorDate: Thu Dec 6 17:28:10 2018 +0800

    [jsfm] add __updateComponentData to TaskCenter (#1873)
---
 runtime/bridge/TaskCenter.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/runtime/bridge/TaskCenter.js b/runtime/bridge/TaskCenter.js
index 807451c..192b98b 100644
--- a/runtime/bridge/TaskCenter.js
+++ b/runtime/bridge/TaskCenter.js
@@ -151,7 +151,8 @@ export function init () {
     updateStyle: global.callUpdateStyle,
 
     addEvent: global.callAddEvent,
-    removeEvent: global.callRemoveEvent
+    removeEvent: global.callRemoveEvent,
+    __updateComponentData: global.__updateComponentData
   }
   const proto = TaskCenter.prototype