that.model.addDuplications(data.duplications);
that.model.set({
duplications: data.duplications,
+ duplicationsParsed: duplications,
duplicationFiles: data.files
});
});
source: source,
hasSourceBefore: data.sources.length === that.LINES_AROUND
});
+ that.model.addDuplications(that.model.get('duplications'));
+ that.model.addMeta(that.model.get('duplicationsParsed'));
that.render();
that.scrollToLine(firstLine);
if (that.model.get('hasSourceBefore') || that.model.get('hasSourceAfter')) {
source: source,
hasSourceAfter: data.sources.length === that.LINES_AROUND
});
+ that.model.addDuplications(that.model.get('duplications'));
+ that.model.addMeta(that.model.get('duplicationsParsed'));
that.render();
if (that.model.get('hasSourceBefore') || that.model.get('hasSourceAfter')) {
that.bindScrollEvents();