diff lib/js/urweb.js @ 2187:14c45a0b6362

Basis.fromMilliseconds
author Adam Chlipala <adam@chlipala.net>
date Sun, 01 Nov 2015 11:55:01 -0500
parents e8863d9f8c59
children 61866c765485
line wrap: on
line diff
--- a/lib/js/urweb.js	Sat Oct 31 19:21:05 2015 -0400
+++ b/lib/js/urweb.js	Sun Nov 01 11:55:01 2015 -0500
@@ -149,6 +149,10 @@
     return Math.round(tm / 1000);
 }
 
+function fromMilliseconds(tm) {
+    return tm * 1000;
+}
+
 function addSeconds(tm, n) {
     return tm + n * 1000000;
 }