From 448820a11634de6ec356c77b8c7c0cf4937b344c Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 8 Jan 2022 14:47:39 +0100 Subject: work on UI components This commit introduces some HTML and javascript (and tests for it) to use in constructing the new UI. This is partial work that is not yet finished. --- common/lock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/lock.js b/common/lock.js index 5a2d7c8..8dd2f5b 100644 --- a/common/lock.js +++ b/common/lock.js @@ -70,7 +70,7 @@ function _lock(lock, cb) { function unlock(lock) { if (lock.free) - throw new Exception("Attempting to release a free lock"); + throw new Error("Attempting to release a free lock"); if (lock.queue.length === 0) { lock.free = true; -- cgit v1.2.3