mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-29 07:09:45 -04:00
Remove unused injection scopes.
This commit is contained in:
parent
44bf596e51
commit
c0e6d5b2ee
2 changed files with 52 additions and 56 deletions
src/ui
|
@ -19,24 +19,22 @@
|
|||
*
|
||||
* @extends Event
|
||||
*/
|
||||
var MouseEvent = this.MouseEvent = Event.extend(new function() {
|
||||
return /** @lends MouseEvent# */{
|
||||
initialize: function(type, point, target, event) {
|
||||
this.base(event);
|
||||
this.type = type;
|
||||
this.point = point;
|
||||
this.target = target;
|
||||
},
|
||||
var MouseEvent = this.MouseEvent = Event.extend(/** @lends MouseEvent# */{
|
||||
initialize: function(type, point, target, event) {
|
||||
this.base(event);
|
||||
this.type = type;
|
||||
this.point = point;
|
||||
this.target = target;
|
||||
},
|
||||
|
||||
/**
|
||||
* @return {String} A string representation of the key event.
|
||||
*/
|
||||
toString: function() {
|
||||
return '{ type: ' + this.type
|
||||
+ ', point: ' + this.point
|
||||
+ ', target: ' + this.target
|
||||
+ ', modifiers: ' + this.getModifiers()
|
||||
+ ' }';
|
||||
}
|
||||
};
|
||||
/**
|
||||
* @return {String} A string representation of the key event.
|
||||
*/
|
||||
toString: function() {
|
||||
return '{ type: ' + this.type
|
||||
+ ', point: ' + this.point
|
||||
+ ', target: ' + this.target
|
||||
+ ', modifiers: ' + this.getModifiers()
|
||||
+ ' }';
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue