minor tidyups
This commit is contained in:
parent
be9b8a0f3f
commit
81cb24ef17
3 changed files with 25 additions and 36 deletions
|
|
@ -37,8 +37,7 @@
|
|||
|
||||
define(function(require, exports, module) {
|
||||
|
||||
|
||||
var core = require("pilot/core").core;
|
||||
var core = require("pilot/core").core;
|
||||
var event = {};
|
||||
|
||||
event.addListener = function(elem, type, callback) {
|
||||
|
|
@ -111,7 +110,7 @@ var core = require("pilot/core").core;
|
|||
}
|
||||
// old IE
|
||||
else {
|
||||
return Math.max(e.button - 1, 2)
|
||||
return Math.max(e.button - 1, 2);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -239,4 +238,5 @@ var core = require("pilot/core").core;
|
|||
};
|
||||
|
||||
exports.event = event;
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue