I wouldn't be surprised if it was just a for loop checking for all the years in a range, whether they start on the same day of week, and are/are not leap years :)
More like https://en.wikipedia.org/wiki/Evidence_(short_story)
Readability, there it is.
Hi there, take a look on position: sticky; It does exactly what you want. Please note it is still experimental though.
so tick calls requestAnimationFrame that calls tick that... Doesn't it create an ever growing stack? Isn't there a way to do it with a while loop?
Indeed. It's using docco, most likely: http://jashkenas.github.io/docco/
I wouldn't be surprised if it was just a for loop checking for all the years in a range, whether they start on the same day of week, and are/are not leap years :)
More like https://en.wikipedia.org/wiki/Evidence_(short_story)
Readability, there it is.
Hi there, take a look on position: sticky; It does exactly what you want. Please note it is still experimental though.
so tick calls requestAnimationFrame that calls tick that... Doesn't it create an ever growing stack? Isn't there a way to do it with a while loop?
Indeed. It's using docco, most likely: http://jashkenas.github.io/docco/