mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix spelling mistake.
This commit is contained in:
parent
1888e7d64f
commit
d22104985d
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ var Item = Base.extend(Emitter, /** @lends Item# */{
|
|||
}
|
||||
},
|
||||
new function() { // // Scope to inject various item event handlers
|
||||
var handles = ['onMouseDown', 'onMouseUp', 'onMouseDrag', 'onClick',
|
||||
var handlers = ['onMouseDown', 'onMouseUp', 'onMouseDrag', 'onClick',
|
||||
'onDoubleClick', 'onMouseMove', 'onMouseEnter', 'onMouseLeave'];
|
||||
return Base.each(handles,
|
||||
return Base.each(handlers,
|
||||
function(name) {
|
||||
this._events[name] = {
|
||||
install: function(type) {
|
||||
|
@ -100,7 +100,7 @@ new function() { // // Scope to inject various item event handlers
|
|||
onError: {}
|
||||
},
|
||||
statics: {
|
||||
_itemHandlers: handles
|
||||
_itemHandlers: handlers
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue