Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
* [html5] fix tests & @notdanger.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRaindrop committed Aug 7, 2017
1 parent e3beff0 commit 758a334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion html5/render/vue/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
export default {
scrollableTypes: ['scroller', 'list', 'waterfall'],
gestureEvents: [
'longpress',
'panstart',
'panmove',
'panend',
Expand Down
2 changes: 2 additions & 0 deletions html5/test/render/vue/core/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ init('core node', (Vue, helper) => {
* e.g. div -> foo (whoes root element is the div.)
*/
const evt = new Event('tap', { bubbles: true })
evt._for = 'weex'
el.dispatchEvent(evt)

helper.registerDone(id, (tracker) => {
Expand All @@ -65,6 +66,7 @@ init('core node', (Vue, helper) => {
* shouldn't bubbe to outter div.
*/
const evt = new Event('tap', { bubbles: false })
evt._for = 'weex'
inner.dispatchEvent(evt)

helper.registerDone(id, (tracker) => {
Expand Down

0 comments on commit 758a334

Please sign in to comment.