mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Remove documentation for deprecated #attach() methods.
This commit is contained in:
parent
0894e625b0
commit
77f6e68846
2 changed files with 4 additions and 8 deletions
|
@ -3433,8 +3433,7 @@ var Item = Base.extend(Emitter, /** @lends Item# */{
|
|||
*
|
||||
* Attaches an event handler to the item.
|
||||
*
|
||||
* @name Item#attach
|
||||
* @alias Item#on
|
||||
* @name Item#on
|
||||
* @function
|
||||
* @param {String('mousedown', 'mouseup', 'mousedrag', 'click',
|
||||
* 'doubleclick', 'mousemove', 'mouseenter', 'mouseleave')} type the event
|
||||
|
@ -3466,8 +3465,7 @@ var Item = Base.extend(Emitter, /** @lends Item# */{
|
|||
/**
|
||||
* Attaches one or more event handlers to the item.
|
||||
*
|
||||
* @name Item#attach
|
||||
* @alias Item#on
|
||||
* @name Item#on
|
||||
* @function
|
||||
* @param {Object} object an object literal containing one or more of the
|
||||
* following properties: {@code mousedown, mouseup, mousedrag, click,
|
||||
|
|
|
@ -559,8 +559,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
|
|||
*
|
||||
* Attach an event handler to the view.
|
||||
*
|
||||
* @name View#attach
|
||||
* @alias View#on
|
||||
* @name View#on
|
||||
* @function
|
||||
* @param {String('frame', 'resize')} type the event type
|
||||
* @param {Function} function The function to be called when the event
|
||||
|
@ -582,8 +581,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
|
|||
/**
|
||||
* Attach one or more event handlers to the view.
|
||||
*
|
||||
* @name View#attach
|
||||
* @alias View#on
|
||||
* @name View#on
|
||||
* @function
|
||||
* @param {Object} param an object literal containing one or more of the
|
||||
* following properties: {@code frame, resize}.
|
||||
|
|
Loading…
Reference in a new issue