Browse files

Merge pull request #5 from torgeir/master

Allow for $(el).simulate('dblclick') in event.simulate.js.
  • Loading branch information...
2 parents 8403a66 + 25d7122 commit 1d9ea2820aa93257b9b45735baf4f2b5e14b889e @kangax committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 event.simulate.js
View
2 event.simulate.js
@@ -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 1d9ea28

Please sign in to comment.