GitXplorerGitXplorer
f

chronos

public
38 stars
5 forks
1 issues

Commits

List of commits on branch master.
Unverified
66d3918aec337109d425c3f12ba75046b4c8fa6a

Merge pull request #3 from ajorias/master

ffitzgen committed 8 years ago
Unverified
42cf7955b069ecb833589481f9ff218e7ef88a15

Dergistration of a task while run fixed

aajorias committed 8 years ago
Unverified
e4de48f7cfeac2a7cc63112c7686b67852a50fd5

Merge branch 'patch-1'

ffitzgen committed 13 years ago
Unverified
88f65d73a8c6b6a2de10e110062cdb3f2c35eb7c

Adding newline at end of file

ffitzgen committed 13 years ago
Unverified
2326ebac5b438a07beac724e464d12de807c38cb

chrono.setInterval doesn't respect actual interval times because the logic of next -= now - lastTimeRan is reducing the next (which keeps getting smaller) by the elapsed time (which keeps getting larger); eg a 1000ms interval repeats every 300ms. Instead we need to set next to relative to the timeout (which is fixed).

nnatecavanaugh committed 13 years ago
Unverified
50e4a95021e4a6a218ba8890d0c450476fbc2922

Updating link to the blog post, now that it is live.

ffitzgen committed 14 years ago

README

The README file for this repository.

Chronos

Why? Read JavaScript Timer Congestion.

Chronos implements the WindowTimers interface defined by HTML 5.

interface WindowTimers {
  long setTimeout(in any handler, in optional any timeout, in any... args);
  void clearTimeout(in long handle);
  long setInterval(in any handler, in optional any timeout, in any... args);
  void clearInterval(in long handle);
};