ok i think everthing is wroking

This commit is contained in:
Peter Cottle 2015-04-20 17:12:54 +10:00
parent f048f99e7f
commit 57a1905e7d
5 changed files with 8 additions and 8 deletions

View file

@ -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')) {

View file

@ -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

View file

@ -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 {

View file

@ -296,7 +296,7 @@ var VisTag = VisBase.extend({
shouldDisableClick: function() {
return this.get('isHead') && !this.gitEngine.getDetachedHead();
}.bind(this),
},
onClick: function() {
if (this.shouldDisableClick()) {

View file

@ -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;