Skip to content

Instantly share code, notes, and snippets.

@jiguang
Created June 21, 2013 06:02
Show Gist options
  • Save jiguang/5829196 to your computer and use it in GitHub Desktop.
Save jiguang/5829196 to your computer and use it in GitHub Desktop.
easeInOutQuad
jQuery.easing.easeInOutQuad = function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment