aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-07-29 12:39:46 +1000
committerYuchen Pei <hi@ypei.me>2022-07-29 12:39:46 +1000
commite264ae8dd3af9544261af15c4b39a97657db90c7 (patch)
tree015720a3d93086f5560a0e85ac23c31530b64c75
parent8806d891c0c6aeccacb3e4bc97a99fd9ec560f44 (diff)
fixing a bug introduced in commit b98cb70b1bc
bug effect: no default subject and body shown for prefs
-rw-r--r--common/Storage.js3
1 files changed, 2 insertions, 1 deletions
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');
}