Commit 4c311738 by Tobias Skarhed

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

parent d00e2c20
...@@ -33,6 +33,7 @@ public/css/*.min.css ...@@ -33,6 +33,7 @@ public/css/*.min.css
*.tmp *.tmp
.DS_Store .DS_Store
.vscode/ .vscode/
.vs/
/data/* /data/*
/bin/* /bin/*
......
...@@ -113,7 +113,6 @@ export class HistoryListCtrl { ...@@ -113,7 +113,6 @@ export class HistoryListCtrl {
.calculateDiff(options) .calculateDiff(options)
.then(response => { .then(response => {
this.delta[this.diff] = response; this.delta[this.diff] = response;
console.log('SUCCESSS!!!');
}) })
.catch(() => { .catch(() => {
this.mode = 'list'; this.mode = 'list';
...@@ -160,12 +159,10 @@ export class HistoryListCtrl { ...@@ -160,12 +159,10 @@ export class HistoryListCtrl {
this.delta = { basic: '', json: '' }; this.delta = { basic: '', json: '' };
this.diff = 'basic'; this.diff = 'basic';
this.mode = 'list'; this.mode = 'list';
//console.log(this.revisions);
this.revisions = _.map(this.revisions, rev => _.extend({}, rev, { checked: false })); this.revisions = _.map(this.revisions, rev => _.extend({}, rev, { checked: false }));
this.canCompare = false; this.canCompare = false;
this.start = 0; this.start = 0;
this.isNewLatest = false; this.isNewLatest = false;
//console.log(this.revisions);
} }
resetFromSource() { 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