apps/homescreen/js/dragdrop.js
/*
   * Detects when users are touching on the limits of a page during
   * the dragging. So we can change the current page and navigate
   * to prev/next page depending on the position.
   * Furthermore, this method is in charge of creating a new page when
   * it's needed
   */
Detects when users are touching on the limits of a page during
the dragging. So we can change the current page and navigate
to prev/next page depending on the position.
Furthermore, this method is in charge of creating a new page when
it's needed
Detects when users are touching on the limits of a page during the dragging . So we can change the current page and navigate to prev / next page depending on the position . Furthermore this method is in charge of creating a new page when it ' s needed
function checkLimits() {
    if (transitioning) {
      return;
    }
    if (cy >= limitY) {
      overDock();
    } else {
      overIconGrid();
    }
  }
function checkLimits ( ) { if ( transitioning ) { return ; } if ( cy >= limitY ) { overDock ( ) ; } else { overIconGrid ( ) ; } }
Detects when users are touching on the limits of a page during
 the dragging.
Detects when users are touching on the limits of a page during the dragging .