mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Move #toString() to the end.
This commit is contained in:
parent
7034f8241b
commit
aac87dba14
1 changed files with 8 additions and 8 deletions
|
@ -39,14 +39,6 @@ var ToolEvent = this.ToolEvent = Base.extend({
|
|||
this.type = type;
|
||||
this.event = event;
|
||||
},
|
||||
|
||||
toString: function() {
|
||||
return '{ type: ' + this.type
|
||||
+ ', point: ' + this.point
|
||||
+ ', count: ' + this.count
|
||||
+ ', modifiers: ' + this.modifiers
|
||||
+ ' }';
|
||||
},
|
||||
|
||||
/**
|
||||
* Convenience method to allow local overrides of point values.
|
||||
|
@ -215,4 +207,12 @@ var ToolEvent = this.ToolEvent = Base.extend({
|
|||
// setItem: function(Item item) {
|
||||
// this.item = item;
|
||||
// }
|
||||
|
||||
toString: function() {
|
||||
return '{ type: ' + this.type
|
||||
+ ', point: ' + this.point
|
||||
+ ', count: ' + this.count
|
||||
+ ', modifiers: ' + this.modifiers
|
||||
+ ' }';
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue