Merge branch 'history' into historyOO

pull/1/head
yflory 4 years ago
commit 68423f49bc

@ -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,

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

Loading…
Cancel
Save