B2G/gecko/toolkit/content/tests/fennec-tile-testapp/chrome/content/WidgetStack.js
// if ignoreBarriers is true, then barriers are ignored for the pan.
if ignoreBarriers is true, then barriers are ignored for the pan.
if ignoreBarriers is true then barriers are ignored for the pan .
function panBy(dx, dy, ignoreBarriers) {
    dx = Math.round(dx);
    dy = Math.round(dy);
    if (dx == 0 && dy == 0)
      return false;
    let needsDragWrap = !this._dragging;
    if (needsDragWrap)
      this.dragStart(0, 0);
    let panned = this._panBy(dx, dy, ignoreBarriers);
    if (needsDragWrap)
      this.dragStop();
    return panned;
  }
function panBy ( dx , dy , ignoreBarriers ) { dx = Math . round ( dx ) ; dy = Math . round ( dy ) ; if ( dx == 0 && dy == 0 ) return false ; let needsDragWrap = ! this . _dragging ; if ( needsDragWrap ) this . dragStart ( 0 , 0 ) ; let panned = this . _panBy ( dx , dy , ignoreBarriers ) ; if ( needsDragWrap ) this . dragStop ( ) ; return panned ; }
if ignoreBarriers is true, then barriers are ignored for the pan.
if ignoreBarriers is true then barriers are ignored for the pan .