From 311f709dc43dd78fad85f2300efd970a757daffa Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 31 Jul 2017 17:15:17 +0200 Subject: [PATCH] lint compliance --- www/common/cryptpad-common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index d9f6e59ef..92416adc1 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -51,7 +51,7 @@ define([ common.displayNameKey = 'cryptpad.username'; var newPadNameKey = common.newPadNameKey = "newPadName"; var newPadPathKey = common.newPadPathKey = "newPadPath"; - var oldStorageKey = common.oldStorageKey = 'CryptPad_RECENTPADS'; + common.oldStorageKey = 'CryptPad_RECENTPADS'; common.storageKey = 'filesData'; var PINNING_ENABLED = AppConfig.enablePinning; @@ -412,7 +412,7 @@ define([ return parsed.hashData; }; // Migrate from legacy store (localStorage) - var migrateRecentPads = common.migrateRecentPads = function (pads) { + common.migrateRecentPads = function (pads) { return pads.map(function (pad) { var parsedHash; if (Array.isArray(pad)) { // TODO DEPRECATE_F