Skip to content

Commit

Permalink
refactor: mark weex-specific block
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Oct 31, 2017
1 parent bd19480 commit b5467d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/vdom/helpers/update-listeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export function updateListeners (
def = cur = on[name]
old = oldOn[name]
event = normalizeEvent(name)
if (isPlainObject(def)) {
// $flow-disable-line
if (__WEEX__ && isPlainObject(def)) {
cur = def.handler
event.params = def.params
}
Expand Down

0 comments on commit b5467d0

Please sign in to comment.