diff --git a/src/item/Item.js b/src/item/Item.js index ce1842d8..d5f97531 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -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, diff --git a/src/view/View.js b/src/view/View.js index 8ae875b8..9c556239 100644 --- a/src/view/View.js +++ b/src/view/View.js @@ -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}.