Code clean up.

This commit is contained in:
Jürg Lehni 2011-05-08 21:46:49 +01:00
parent b44d85277f
commit 079008b243

View file

@ -158,8 +158,8 @@ var ToolEvent = this.ToolEvent = Base.extend({
// Return downCount for both mouse down and up, since
// the count is the same.
return /^mouse(down|up)$/.test(this.type)
? this.tool.downCount
: this.tool.count;
? this.tool.downCount
: this.tool.count;
},
setCount: function(count) {