Permalink
Browse files

Add “click” and “dblclick” to mouse events

  • Loading branch information...
1 parent 0f9559a commit bf7679e398da6953405d54e8cfa8f505ca805400 @davidaurelio davidaurelio committed Feb 28, 2013
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/renderer/event.js
  2. +2 −0 test/renderer/event-spec.js
View
@@ -2,6 +2,8 @@ define(function() {
'use strict';
var eventTypeMap = {
+ click: 'click',
+ dblclick: 'dblclick',
keypress: 'key',
keyup: 'keyup',
keydown: 'keydown',
@@ -94,6 +94,8 @@ define([
eachProperty(
{
+ click: 'click',
+ dblclick: 'dblclick',
mouseup: 'pointerup',
mousedown: 'pointerdown',
mousemove: 'pointermove',

0 comments on commit bf7679e

Please sign in to comment.