Opt out of command registration for textInput events

There seems to be issues capturing them when they are programmatically
dispatched via dispatchEvent. This was causing problems for the vim-mode
specs. This event belongs among the native events that aren’t treated
as commands anyway.
This commit is contained in:
Nathan Sobo
2014-10-16 15:58:14 -06:00
parent 55a5e66701
commit c0843d467d

View File

@@ -19,7 +19,8 @@ NativeEventNames = new Set
NativeEventNames.add(nativeEvent) for nativeEvent in ["blur", "focus", "focusin",
"focusout", "load", "resize", "scroll", "unload", "click", "dblclick", "mousedown",
"mouseup", "mousemove", "mouseover", "mouseout", "mouseenter", "mouseleave", "change",
"select", "submit", "keydown", "keypress", "keyup", "error", "contextmenu"]
"select", "submit", "keydown", "keypress", "keyup", "error", "contextmenu", "textInput",
"textinput"]
JQueryTrigger = jQuery.fn.trigger
jQuery.fn.trigger = (eventName, data) ->