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) {