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

@ -28,7 +28,6 @@ o.spec("event", function() {
o(spy.this).equals(div.dom)
o(spy.args[0].type).equals("click")
o(spy.args[0].target).equals(div.dom)
o(spy.args[1]).equals(div)
o(onevent.callCount).equals(1)
o(onevent.this).equals(div.dom)
o(onevent.args[0].type).equals("click")
@ -65,7 +64,6 @@ o.spec("event", function() {
o(spy.this).equals(div.dom)
o(spy.args[0].type).equals("click")
o(spy.args[0].target).equals(div.dom)
o(spy.args[1]).equals(div)
o(onevent.callCount).equals(1)
o(onevent.this).equals(div.dom)
o(onevent.args[0].type).equals("click")
@ -87,7 +85,6 @@ o.spec("event", function() {
o(spy.this).equals(div.dom)
o(spy.args[0].type).equals("transitionend")
o(spy.args[0].target).equals(div.dom)
o(spy.args[1]).equals(div)
o(onevent.callCount).equals(1)
o(onevent.this).equals(div.dom)
o(onevent.args[0].type).equals("transitionend")