From 74577b54e46bd8c5b8f0059c3871e0aa82bb3ad3 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 22 Sep 2020 15:28:21 +0200 Subject: [PATCH] lint compliance --- www/common/outer/async-store.js | 1 - www/common/sframe-common-history.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index c3b72f6fa..1eab0d6e2 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -1456,7 +1456,6 @@ define([ var channels = Store.channels = store.channels = {}; var getVersionHash = function (clientId, data) { - var validateKey; var fakeNetflux = Hash.createChannelId(); Store.getHistoryRange(clientId, { cpCount: 1, diff --git a/www/common/sframe-common-history.js b/www/common/sframe-common-history.js index 94e7b8f6c..2cb6e5962 100644 --- a/www/common/sframe-common-history.js +++ b/www/common/sframe-common-history.js @@ -180,7 +180,7 @@ define([ if (semantic) { // If semantic is truc, jump to the next patch from a different netflux ID var author = states[idx].author; - for (j = idx; (j > 1 && j < (states.length - 1)); ((i > c) ? j++ : j--)) { + for (var j = idx; (j > 1 && j < (states.length - 1)); ((i > c) ? j++ : j--)) { idx = j; i = getRank(idx); if (author !== states[j].author) {