mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
temporary UNSTABLE since codemod went nuts
This commit is contained in:
parent
2257668f9d
commit
f048f99e7f
14 changed files with 32 additions and 39 deletions
|
@ -368,16 +368,16 @@ var Level = Sandbox.extend({
|
|||
initGitShim: function(options) {
|
||||
// ok we definitely want a shim here
|
||||
this.gitShim = new GitShim({
|
||||
beforeCB: this.beforeCommandCB, this),
|
||||
afterCB: this.afterCommandCB, this),
|
||||
afterDeferHandler: this.afterCommandDefer, this)
|
||||
beforeCB: this.beforeCommandCB.bind(this),
|
||||
afterCB: this.afterCommandCB.bind(this),
|
||||
afterDeferHandler: this.afterCommandDefer.bind(this)
|
||||
});
|
||||
},
|
||||
|
||||
undo: function() {
|
||||
this.gitCommandsIssued.pop();
|
||||
Level.__super__.undo.apply(this, arguments);
|
||||
}.bind(this)
|
||||
}.bind(this),
|
||||
|
||||
afterCommandCB: function(command) {
|
||||
if (command.get('error')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue