Skip to content

Instantly share code, notes, and snippets.

@gaving
Created July 4, 2010 17:05
Show Gist options
  • Save gaving/463587 to your computer and use it in GitHub Desktop.
Save gaving/463587 to your computer and use it in GitHub Desktop.
Function.prototype.delay = function(s){ setTimeout(this, s*1000); };
Date.prototype.addDays = function(days){ return new Date(this.getTime() + (days*1000*60*60*24)); }
@gaving
Copy link
Author

gaving commented Jul 4, 2010

(function(){ anim('wrapper', 'rotateY(0deg)'); }).delay(0.5);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment