From 5e4aa8e9aba34bb101923685c23f0f6681a12812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 12 Dec 2021 23:29:06 +0100 Subject: Add documenttation for javascript rewrite. --- doc/ref/javascript/clock.texi | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'doc/ref/javascript/clock.texi') diff --git a/doc/ref/javascript/clock.texi b/doc/ref/javascript/clock.texi index 5c2bd954..10ab7d4e 100644 --- a/doc/ref/javascript/clock.texi +++ b/doc/ref/javascript/clock.texi @@ -1,21 +1,15 @@ @node clock @subsection clock.js -@deftp {(abstract) class} Clock +@deftp {abstract class} Clock Interface for ``things'' which wants to get updated on a human timescale. @defmethod Clock update now +@c abstract method Called every now and then, with @var{now} being the current time. @end defmethod - -All instances are expected to implement @code{update}, but are free to -implement any other methods they see fit. @end deftp -Below, only the methods (including @code{constructor} and -@code{update} which do something of note (excluding the expected)) -are noted. - @deftp {class} Timebar @extends{Clock} The (blue) vertical line which show the current time in the current day. -- cgit v1.2.3