fix bug section-8.3 #10

Merged
merged 1 commit into from Dec 5, 2015

Projects

None yet

2 participants

@isoden
Contributor
isoden commented Oct 16, 2015

callback argument of requestAnimationFrame is a DOMHighResTimeStamp (!== +new Date()),
I changed to run Date.now() at the beginning of the animate function.

refs https://developer.mozilla.org/en/docs/Web/API/Window/requestAnimationFrame#Parameters

@corehtml5canvas corehtml5canvas merged commit 1c299b9 into corehtml5canvas:master Dec 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment