mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-14 06:59:06 -04:00
Implement a better way to name and export class constructors.
This change also simplified the way classes are exported to PaperScope objects.
This commit is contained in:
parent
15b1ea7af0
commit
10d5de3ed6
45 changed files with 127 additions and 154 deletions
src/ui
|
@ -22,8 +22,8 @@
|
|||
*
|
||||
* @extends Event
|
||||
*/
|
||||
var MouseEvent = this.MouseEvent = Event.extend(/** @lends MouseEvent# */{
|
||||
initialize: function(type, event, point, target, delta) {
|
||||
var MouseEvent = Event.extend(/** @lends MouseEvent# */{
|
||||
initialize: function MouseEvent(type, event, point, target, delta) {
|
||||
Event.call(this, event);
|
||||
this.type = type;
|
||||
this.point = point;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue