Commit 4c311738 by Tobias Skarhed

Karma to Jest: history_ctrl. .gitingore: .vs/

parent d00e2c20
......@@ -33,6 +33,7 @@ public/css/*.min.css
*.tmp
.DS_Store
.vscode/
.vs/
/data/*
/bin/*
......
......@@ -113,7 +113,6 @@ export class HistoryListCtrl {
.calculateDiff(options)
.then(response => {
this.delta[this.diff] = response;
console.log('SUCCESSS!!!');
})
.catch(() => {
this.mode = 'list';
......@@ -160,12 +159,10 @@ export class HistoryListCtrl {
this.delta = { basic: '', json: '' };
this.diff = 'basic';
this.mode = 'list';
//console.log(this.revisions);
this.revisions = _.map(this.revisions, rev => _.extend({}, rev, { checked: false }));
this.canCompare = false;
this.start = 0;
this.isNewLatest = false;
//console.log(this.revisions);
}
resetFromSource() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment