w3c / requestidlecallback

Cooperative Scheduling of Background Tasks
https://w3c.github.io/requestidlecallback/
Other
50 stars 19 forks source link

Fix isExceeded to check deadline correctly. #9

Closed rmcilroy closed 9 years ago

rmcilroy commented 9 years ago

isExceeded should return true if now is greater than or equal to deadline, not the other way around. This fixes #6.

lawnsea commented 9 years ago

:+1: to this fix.

The spec looks great in general. I'm very excited to see this moving along.