0.2.1 • Published 10 years ago

sank v0.2.1

Weekly downloads
5
License
MIT
Repository
-
Last release
10 years ago

sank

A function for syncing with a timeserver using a Bacon property.

Only tested in the browser so far. Requires $ to be bound to jquery.

sank (timeServerURL, updateTimeInterval)

Returns a Bacon property representing the time diff (in ms) between client time and the timeserver. the property requests sends a request to timeServerURL every updateTimeInterval

timeServerURL must return an ISO-formatted date on a GET request.

0.2.1

10 years ago

0.2.0

10 years ago

0.1.98

10 years ago

0.1.97

10 years ago

0.1.95

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.0

10 years ago