From 000f3edd1d2300c8380a57fffeae2afd6b512149 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 21 Nov 2017 16:47:19 +0100 Subject: [PATCH] Constants file --- www/common/common-constants.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 www/common/common-constants.js diff --git a/www/common/common-constants.js b/www/common/common-constants.js new file mode 100644 index 000000000..76c70d103 --- /dev/null +++ b/www/common/common-constants.js @@ -0,0 +1,14 @@ +define(function () { + return { + // localStorage + userHashKey: 'User_hash', + userNameKey: 'User_name', + fileHashKey: 'FS_hash', + // sessionStorage + newPadPathKey: "newPadPath", + // Store + displayNameKey: 'cryptpad.username', + oldStorageKey: 'CryptPad_RECENTPADS', + storageKey: 'filesData', + }; +});