From e264ae8dd3af9544261af15c4b39a97657db90c7 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 29 Jul 2022 12:39:46 +1000 Subject: fixing a bug introduced in commit b98cb70b1bc bug effect: no default subject and body shown for prefs --- common/Storage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/Storage.js b/common/Storage.js index 5eaff77..cfdaf2f 100644 --- a/common/Storage.js +++ b/common/Storage.js @@ -25,7 +25,6 @@ */ 'use strict'; -const jssha = require('jssha'); const Storage = { ARRAY: { @@ -132,4 +131,6 @@ function hash(source) { if (typeof module === 'object') { module.exports = { ListStore, Storage, hash }; + // TODO: eliminate the var + var jssha = require('jssha'); } -- cgit v1.2.3