Commits

carkraus committed 852fe3a

fix indentation

Comments (0)

Files changed (1)

closure/closure-library/closure/goog/fx/abstractdragdrop.js

       event.type == goog.events.EventType.MOUSEOUT &&
       event.target == currentDragElement;
   if (distanceAboveThreshold || mouseOutOnDragElement) {
-    goog.events.unlisten(currentDragElement, [goog.events.EventType.MOUSEMOVE, goog.events.EventType.TOUCHMOVE],
-                         this.mouseMove_, false, this);
+    goog.events.unlisten(currentDragElement,
+        [goog.events.EventType.MOUSEMOVE, goog.events.EventType.TOUCHMOVE],
+        this.mouseMove_, false, this);
     goog.events.unlisten(currentDragElement, goog.events.EventType.MOUSEOUT,
                          this.mouseMove_, false, this);
-    goog.events.unlisten(currentDragElement, [goog.events.EventType.MOUSEUP, goog.events.EventType.TOUCHEND],
-                         this.mouseUp_, false, this);
+    goog.events.unlisten(currentDragElement,
+        [goog.events.EventType.MOUSEUP, goog.events.EventType.TOUCHEND],
+        this.mouseUp_, false, this);
 
     this.parent_.startDrag(event, this);
   }
  */
 goog.fx.DragDropItem.prototype.mouseUp_ = function(event) {
   var currentDragElement = this.currentDragElement_;
-  goog.events.unlisten(currentDragElement, [goog.events.EventType.MOUSEMOVE, goog.events.EventType.TOUCHMOVE],
-                       this.mouseMove_, false, this);
+  goog.events.unlisten(currentDragElement,
+      [goog.events.EventType.MOUSEMOVE, goog.events.EventType.TOUCHMOVE],
+      this.mouseMove_, false, this);
   goog.events.unlisten(currentDragElement, goog.events.EventType.MOUSEOUT,
                        this.mouseMove_, false, this);
-  goog.events.unlisten(currentDragElement, [goog.events.EventType.MOUSEUP, goog.events.EventType.TOUCHEND],
-                       this.mouseUp_, false, this);
+  goog.events.unlisten(currentDragElement,
+      [goog.events.EventType.MOUSEUP, goog.events.EventType.TOUCHEND],
+      this.mouseUp_, false, this);
   delete this.startPosition_;
   this.currentDragElement_ = null;
 };