Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add “click” and “dblclick” to mouse events

  • Loading branch information...
commit bf7679e398da6953405d54e8cfa8f505ca805400 1 parent 0f9559a
@davidaurelio davidaurelio authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  src/renderer/event.js
  2. +2 −0  test/renderer/event-spec.js
View
2  src/renderer/event.js
@@ -2,6 +2,8 @@ define(function() {
'use strict';
var eventTypeMap = {
+ click: 'click',
+ dblclick: 'dblclick',
keypress: 'key',
keyup: 'keyup',
keydown: 'keydown',
View
2  test/renderer/event-spec.js
@@ -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.
Something went wrong with that request. Please try again.