mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-01 18:24:28 +02:00
ok i think everthing is wroking
This commit is contained in:
parent
f048f99e7f
commit
57a1905e7d
5 changed files with 8 additions and 8 deletions
|
@ -377,7 +377,7 @@ var Level = Sandbox.extend({
|
|||
undo: function() {
|
||||
this.gitCommandsIssued.pop();
|
||||
Level.__super__.undo.apply(this, arguments);
|
||||
}.bind(this),
|
||||
},
|
||||
|
||||
afterCommandCB: function(command) {
|
||||
if (command.get('error')) {
|
||||
|
|
|
@ -82,7 +82,7 @@ var Sandbox = Backbone.View.extend({
|
|||
Main.getEventBaton().stealBaton('levelExited', this.levelExited, this);
|
||||
|
||||
this.insertGitShim();
|
||||
}.bind(this),
|
||||
},
|
||||
|
||||
releaseControl: function() {
|
||||
// we will be handling commands that are submitted, mainly to add the sanadbox
|
||||
|
|
|
@ -107,7 +107,7 @@ var MarkdownGrabber = ContainedBase.extend({
|
|||
|
||||
getRawText: function() {
|
||||
return this.$('textarea').val();
|
||||
}.bind(this),
|
||||
},
|
||||
|
||||
exportToArray: function() {
|
||||
return this.getRawText().split('\n');
|
||||
|
@ -163,7 +163,7 @@ var MarkdownPresenter = ContainedBase.extend({
|
|||
|
||||
grabText: function() {
|
||||
return this.$('textarea').val();
|
||||
}.bind(this)
|
||||
}
|
||||
});
|
||||
|
||||
var DemonstrationBuilder = ContainedBase.extend({
|
||||
|
@ -243,7 +243,7 @@ var DemonstrationBuilder = ContainedBase.extend({
|
|||
options: this.getExportObj()
|
||||
}]
|
||||
});
|
||||
}.bind(this),
|
||||
},
|
||||
|
||||
getExportObj: function() {
|
||||
return {
|
||||
|
|
|
@ -296,7 +296,7 @@ var VisTag = VisBase.extend({
|
|||
|
||||
shouldDisableClick: function() {
|
||||
return this.get('isHead') && !this.gitEngine.getDetachedHead();
|
||||
}.bind(this),
|
||||
},
|
||||
|
||||
onClick: function() {
|
||||
if (this.shouldDisableClick()) {
|
||||
|
|
|
@ -99,7 +99,7 @@ var Visualization = Backbone.View.extend({
|
|||
|
||||
clearOrigin: function() {
|
||||
delete this.originVis;
|
||||
}.bind(this),
|
||||
},
|
||||
|
||||
makeOrigin: function(options) {
|
||||
// oh god, here we go. We basically do a bizarre form of composition here,
|
||||
|
@ -196,7 +196,7 @@ var Visualization = Backbone.View.extend({
|
|||
this.setTreeOpacity(1);
|
||||
this.originToo('showHarsh', arguments);
|
||||
this.myResize();
|
||||
}.bind(this),
|
||||
},
|
||||
|
||||
resetFromThisTreeNow: function(treeString) {
|
||||
this.treeString = treeString;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue