B2G/gecko/browser/components/tabview/items.js
//  immediately - bool for having the drag do the final positioning without animation
bool for having the drag do the final positioning without animation
bool for having the drag do the final positioning without animation
function Item_snap(immediately) {
    var defaultRadius = Trenches.defaultRadius;
    Trenches.defaultRadius = 2 * defaultRadius; 
    var FauxDragInfo = new Drag(this, {});
    FauxDragInfo.snap('none', false);
    FauxDragInfo.stop(immediately);
    Trenches.defaultRadius = defaultRadius;
  }
function Item_snap ( immediately ) { var defaultRadius = Trenches . defaultRadius ; Trenches . defaultRadius = 2 * defaultRadius ; var FauxDragInfo = new Drag ( this , { } ) ; FauxDragInfo . snap ( 'none' , false ) ; FauxDragInfo . stop ( immediately ) ; Trenches . defaultRadius = defaultRadius ; }
immediately - bool for having the drag do the final positioning without animation
immediately - bool for having the drag do the final positioning without animation
// make the snapping work with a wider range! // bump up from 10 to 20!