Skip to content

Conversation

@pygy
Copy link
Member

@pygy pygy commented Jul 25, 2016

It's a bit involved, but I don't think it could be made much more simple...

As expected, it fails before this commit and succeeds afterwards.

var oninit1 = o.spy()
var onclick1 = o.spy()

var e = $window.document.createEvent("MouseEvents")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was MouseEvent, not MouseEvents. I may be wrong, since this is right off the top of my head.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That may very well be, I just copied what the other tests were doing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually both are valid. The plural form is DOM level 2, the DOM level 3 spec added the singular version.

@tivac tivac added the rewrite label Jul 30, 2016
@tivac tivac added this to the Rewrite milestone Jul 30, 2016
@lhorie lhorie merged commit a7a546a into MithrilJS:rewrite Aug 3, 2016
@pygy pygy deleted the multi-mount-redraw-test branch September 19, 2016 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants