Revert "Pass vnode as second argument"

This commit is contained in:
Isiah Meadows 2017-04-28 16:40:13 -04:00 committed by GitHub
parent 0587139252
commit b24c37c42d
3 changed files with 2 additions and 37 deletions

View file

@ -558,7 +558,7 @@ module.exports = function($window) {
function updateEvent(vnode, key, value) {
var element = vnode.dom
var callback = typeof onevent !== "function" ? value : function(e) {
var result = value.call(element, e, vnode)
var result = value.call(element, e)
onevent.call(element, e)
return result
}