| Index: remoting/webapp/app_remoting/js/drag_and_drop.js
|
| diff --git a/remoting/webapp/app_remoting/js/drag_and_drop.js b/remoting/webapp/app_remoting/js/drag_and_drop.js
|
| index dbe68d5e29ebfda3ef9c58cf36498a722ca54c7f..7861ad196ab60ab0fad4b373890394304c6befd9 100644
|
| --- a/remoting/webapp/app_remoting/js/drag_and_drop.js
|
| +++ b/remoting/webapp/app_remoting/js/drag_and_drop.js
|
| @@ -23,53 +23,31 @@ var remoting = remoting || {};
|
| */
|
| remoting.DragAndDrop = function(element, dragUpdate,
|
| opt_dragStart, opt_dragEnd) {
|
| - /**
|
| - * @private
|
| - */
|
| + /** @private */
|
| this.element_ = element;
|
|
|
| - /**
|
| - * @private
|
| - */
|
| + /** @private */
|
| this.dragUpdate_ = dragUpdate;
|
|
|
| - /**
|
| - * @private
|
| - */
|
| + /** @private */
|
| this.dragStart_ = opt_dragStart;
|
|
|
| - /**
|
| - * @private
|
| - */
|
| + /** @private */
|
| this.dragEnd_ = opt_dragEnd;
|
|
|
| - /**
|
| - * @type {number}
|
| - * @private
|
| - */
|
| + /** @private {number} */
|
| this.previousDeltaX_ = 0;
|
|
|
| - /**
|
| - * @type {number}
|
| - * @private
|
| - */
|
| + /** @private {number} */
|
| this.previousDeltaY_ = 0;
|
|
|
| - /**
|
| - * @type {boolean}
|
| - */
|
| + /** @type {boolean} */
|
| this.seenNonZeroDelta_ = false;
|
|
|
| - /**
|
| - * @type {function(Event):void}
|
| - * @private
|
| - */
|
| + /** @private {function(Event):void} */
|
| this.callOnMouseUp_ = this.onMouseUp_.bind(this);
|
|
|
| - /**
|
| - * @type {function(Event):void}
|
| - * @private
|
| - */
|
| + /** @private {function(Event):void} */
|
| this.callOnMouseMove_ = this.onMouseMove_.bind(this);
|
|
|
| element.addEventListener('mousedown', this.onMouseDown_.bind(this), false);
|
|
|