Permalink
Browse files

Adds dblclick as a MouseEvent for event.simulate.

  • Loading branch information...
1 parent 8403a66 commit 25d712203731762e96b8a898d3710a112de02459 @torgeir committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 event.simulate.js
View
@@ -12,7 +12,7 @@
var eventMatchers = {
'HTMLEvents': /^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,
- 'MouseEvents': /^(?:click|mouse(?:down|up|over|move|out))$/
+ 'MouseEvents': /^(?:click|dblclick|mouse(?:down|up|over|move|out))$/
}
var defaultOptions = {
pointerX: 0,

0 comments on commit 25d7122

Please sign in to comment.