mxtopher·7 ปีที่แล้ว·discussI 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 :)
mxtopher·11 ปีที่แล้ว·discussHi there, take a look on position: sticky; It does exactly what you want. Please note it is still experimental though.
mxtopher·11 ปีที่แล้ว·discussso 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?
mxtopher·11 ปีที่แล้ว·discussIndeed. It's using docco, most likely: http://jashkenas.github.io/docco/