Mercurial > gui
view clock.urs @ 25:a037ed3854e3
Change time format to work portably in JavaScript
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 04 Dec 2011 16:33:48 -0500 |
parents | 0337f88f2efc |
children |
line wrap: on
line source
(** Reactive view of the current time *) type t val create : int -> transaction t (* Specify the clock resolution, in milliseconds. *) val start : t -> transaction {} (* Call this in client-side code (e.g., 'onload' handler) to begin. *) val signal : t -> signal time