Skip to content

Instantly share code, notes, and snippets.

@tkheyfets
Last active Mar 23, 2016
Embed
What would you like to do?
Force code to run in next drawing frame
function defer(fn) { return setTimeout(fn, 0); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment