[uievents] Should not reocmmend DocumentEvent.createEvent (#51)

Copied from W3C Bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=29068

##### Domenic Denicola 2015-08-19 21:36:53 UTC
"To create an instance of the KeyboardEvent interface, use the DocumentEvent.createEvent("KeyboardEvent") method call. "

You should recommend using new KeyboardEvent instead. DocumentEvent doesn't even exist.

This problem also occurs with CompositionEvent.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/51

Received on Wednesday, 7 October 2015 04:51:19 UTC