Skip to content

Instantly share code, notes, and snippets.

@connor
Created April 29, 2012 23:05
Show Gist options
  • Save connor/2553772 to your computer and use it in GitHub Desktop.
Save connor/2553772 to your computer and use it in GitHub Desktop.
shift diff function
context.shiftDiff = function(diff) {
if (!arguments.length) shiftDiff = 20 // default
else shiftDiff = diff;
return update();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment