mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-07 19:49:09 -04: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.type = type;
|
||||||
this.event = event;
|
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.
|
* Convenience method to allow local overrides of point values.
|
||||||
|
@ -215,4 +207,12 @@ var ToolEvent = this.ToolEvent = Base.extend({
|
||||||
// setItem: function(Item item) {
|
// setItem: function(Item item) {
|
||||||
// this.item = item;
|
// this.item = item;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
toString: function() {
|
||||||
|
return '{ type: ' + this.type
|
||||||
|
+ ', point: ' + this.point
|
||||||
|
+ ', count: ' + this.count
|
||||||
|
+ ', modifiers: ' + this.modifiers
|
||||||
|
+ ' }';
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue