mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +02:00
[Gist] Resolves #371 fix gist loading bug
This commit is contained in:
parent
8638c31d82
commit
52d930d45a
2 changed files with 4 additions and 1 deletions
|
@ -301,6 +301,7 @@ var Sandbox = Backbone.View.extend({
|
||||||
command.set('error', new Errors.GitError({
|
command.set('error', new Errors.GitError({
|
||||||
msg: 'Something went wrong ' + String(e)
|
msg: 'Something went wrong ' + String(e)
|
||||||
}));
|
}));
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
command.finishWith(deferred);
|
command.finishWith(deferred);
|
||||||
},
|
},
|
||||||
|
|
|
@ -171,7 +171,9 @@ var Visualization = Backbone.View.extend({
|
||||||
|
|
||||||
fadeTreeOut: function() {
|
fadeTreeOut: function() {
|
||||||
this.shown = false;
|
this.shown = false;
|
||||||
|
if (this.paper && this.paper.canvas) {
|
||||||
$(this.paper.canvas).animate({opacity: 0}, this.getAnimationTime());
|
$(this.paper.canvas).animate({opacity: 0}, this.getAnimationTime());
|
||||||
|
}
|
||||||
this.originToo('fadeTreeOut', arguments);
|
this.originToo('fadeTreeOut', arguments);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue