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/08 08:55:17 UTC

[05/39] incubator-weex git commit: * [jsfm] pass instance id to callback manager

* [jsfm] pass instance id to callback manager


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

Branch: refs/heads/0.16-dev
Commit: 8130b5c599bbf58236e1668944ad593651a3a174
Parents: e57f824
Author: Hanks <zh...@gmail.com>
Authored: Wed Jul 26 16:09:00 2017 +0800
Committer: Hanks <zh...@gmail.com>
Committed: Wed Jul 26 16:09:00 2017 +0800

----------------------------------------------------------------------
 html5/runtime/task-center.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8130b5c5/html5/runtime/task-center.js
----------------------------------------------------------------------
diff --git a/html5/runtime/task-center.js b/html5/runtime/task-center.js
index f103011..41b3607 100644
--- a/html5/runtime/task-center.js
+++ b/html5/runtime/task-center.js
@@ -30,7 +30,7 @@ export class TaskCenter {
     })
     Object.defineProperty(this, 'callbackManager', {
       enumerable: true,
-      value: new CallbackManager()
+      value: new CallbackManager(id)
     })
     fallback = sendTasks || function () {}
   }