jquery-simulate icon indicating copy to clipboard operation
jquery-simulate copied to clipboard

jQuery Event Unit Testing Helpers

Results 19 jquery-simulate issues
Sort by recently updated
recently updated
newest added

Very useful project! I find that when running tests with jasmine-maven-plugin, specifically when running a headless test (which internally uses HtmlUnit for the "browser") that event.relatedTarget can be null. This...

See **1. Linting** in the [JS style guide](http://contribute.jquery.org/style-guide/js/).

currently it's passed in type as a formal parameter: ``` dispatchEvent: function( elem, type, event ) ``` can't we just use `event.type`?

This code assumes keyCode can be less than zero, is that even true? ``` event.keyCode = (options.charCode > 0) ? options.charCode : options.keyCode; ``` can we just use: ``` is...

currently, we fallback from ``` event = document.createEvent( "KeyEvents" ); event.initKeyEvent ``` to just creating a generic event in Webkit. Webkit has an alternate implementation called `initKeyBoardEvent`, which needs to...

currently, only event.button is populated. However, there is now also event.buttons in some browsers.

currently, the clientX/Y is set to 1 for the mouseEvent if not overridden by options. This should default to a position within the target element.