js: Use XDate as a module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-27 15:26:58 -07:00
committed by Tim Abbott
parent c66931d4cd
commit bcab7efb37
25 changed files with 33 additions and 16 deletions

View File

@@ -1,3 +1,5 @@
const XDate = require("xdate");
let is_floating_recipient_bar_showing = false;
function top_offset(elem) {