Skip to content

Commit

Permalink
Merge pull request #5 from torgeir/master
Browse files Browse the repository at this point in the history
Allow for $(el).simulate('dblclick') in event.simulate.js.
  • Loading branch information
kangax committed Sep 19, 2012
2 parents 8403a66 + 25d7122 commit 1d9ea28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event.simulate.js
Expand Up @@ -12,7 +12,7 @@


var eventMatchers = { var eventMatchers = {
'HTMLEvents': /^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/, '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 = { var defaultOptions = {
pointerX: 0, pointerX: 0,
Expand Down

0 comments on commit 1d9ea28

Please sign in to comment.