You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ta...@apache.org on 2017/05/25 02:46:22 UTC

[40/50] incubator-weex git commit: * [html5] fix test.

* [html5] fix test.


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

Branch: refs/heads/0.13-dev
Commit: d43f5cbf2231645a5227603d14afb57a2773c208
Parents: f8d873b
Author: MrRaindrop <te...@gmail.com>
Authored: Wed May 17 10:04:55 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Wed May 17 10:04:55 2017 +0800

----------------------------------------------------------------------
 html5/test/render/vue/core/node.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d43f5cbf/html5/test/render/vue/core/node.js
----------------------------------------------------------------------
diff --git a/html5/test/render/vue/core/node.js b/html5/test/render/vue/core/node.js
index 8076e4c..910e390 100644
--- a/html5/test/render/vue/core/node.js
+++ b/html5/test/render/vue/core/node.js
@@ -31,7 +31,7 @@ init('core node', (Vue, helper) => {
        * child vnode -> parent vnode.
        *  e.g.  div -> foo (whoes root element is the div.)
        */
-      const evt = new Event('tap', { bubbles: true })
+      const evt = new Event('click', { bubbles: true })
       el.dispatchEvent(evt)
 
       helper.registerDone(id, (tracker) => {
@@ -49,7 +49,7 @@ init('core node', (Vue, helper) => {
        * click inner div. should just trigget the inner handler and
        * shouldn't bubbe to outter div.
        */
-      const evt = new Event('tap', { bubbles: true })
+      const evt = new Event('click', { bubbles: true })
       inner.dispatchEvent(evt)
 
       helper.registerDone(id, (tracker) => {