minor style fixes.

This commit is contained in:
Christopher Jeffrey 2015-02-01 07:36:53 -08:00
parent 10b8cc2fe1
commit b6853fbd88
1 changed files with 6 additions and 6 deletions

View File

@ -648,7 +648,7 @@ Program.prototype.enableGpm = function() {
type: 'GPM',
action: 'mousedown',
button: self.gpm.ButtonName(btn),
raw: [btn,modifier, x, y],
raw: [btn, modifier, x, y],
x: x,
y: y,
shift: self.gpm.hasShiftKey(modifier),
@ -668,7 +668,7 @@ Program.prototype.enableGpm = function() {
type: 'GPM',
action: 'mouseup',
button: self.gpm.ButtonName(btn),
raw: [btn,modifier, x, y],
raw: [btn, modifier, x, y],
x: x,
y: y,
shift: self.gpm.hasShiftKey(modifier),
@ -688,7 +688,7 @@ Program.prototype.enableGpm = function() {
type: 'GPM',
action: 'mousemove',
button: self.gpm.ButtonName(btn),
raw: [btn,modifier, x, y],
raw: [btn, modifier, x, y],
x: x,
y: y,
shift: self.gpm.hasShiftKey(modifier),
@ -708,7 +708,7 @@ Program.prototype.enableGpm = function() {
type: 'GPM',
action: 'mousemove',
button: self.gpm.ButtonName(btn),
raw: [btn,modifier, x, y],
raw: [btn, modifier, x, y],
x: x,
y: y,
shift: self.gpm.hasShiftKey(modifier),
@ -724,9 +724,9 @@ Program.prototype.enableGpm = function() {
var key = {
name: 'mouse',
type: 'GPM',
action: dy > 0 ? 'wheelup':'wheeldown',
action: dy > 0 ? 'wheelup' : 'wheeldown',
button: self.gpm.ButtonName(btn),
raw: [btn,modifier, x, y, dx, dy],
raw: [btn, modifier, x, y, dx, dy],
x: x,
y: y,
shift: self.gpm.hasShiftKey(modifier),