function globaldefaultspeed(mps) {
  if (mps === undefined) {
    return 1000 / $.fx.speeds.turtle;
  } else {
    $.fx.speeds.turtle = mps > 0 ? 1000 / mps : 0;
  }
}
// Allow speed to be set in moves per second.
Allow speed to be set in moves per second.
Allow speed to be set in moves per second .
function globaldefaultspeed(mps) {
  if (mps === undefined) {
    return 1000 / $.fx.speeds.turtle;
  } else {
    $.fx.speeds.turtle = mps > 0 ? 1000 / mps : 0;
  }
}
function globaldefaultspeed ( mps ) { if ( mps === undefined ) { return 1000 / $ . fx . speeds . turtle ; } else { $ . fx . speeds . turtle = mps > 0 ? 1000 / mps : 0 ; } }
Allow speed to be set in moves per second.
Allow speed to be set in moves per second .