removed left right arrows

This commit is contained in:
Peter Cottle 2012-12-20 12:22:54 -08:00
parent 7d05c5167d
commit 332c36e090
4 changed files with 9 additions and 24 deletions

View file

@ -8545,11 +8545,6 @@ var InteractiveRebaseView = ContainedBase.extend({
destination: this.$('.confirmCancel'), destination: this.$('.confirmCancel'),
deferred: deferred deferred: deferred
}); });
new LeftRightView({
destination: this.$('.confirmCancel'),
deferred: deferred
});
} }
}); });
@ -8662,8 +8657,8 @@ var LeftRightView = PosNegBase.extend({
className: 'leftRightView box horizontal center', className: 'leftRightView box horizontal center',
template: _.template($('#left-right-template').html()), template: _.template($('#left-right-template').html()),
events: { events: {
'click .confirmButton': 'positive', 'click .left': 'negative',
'click .cancelButton': 'negative' 'click .right': 'positive'
}, },
initialize: function(options) { initialize: function(options) {
@ -9177,7 +9172,7 @@ var init = function(){
if (/\?demo/.test(window.location.href)) { if (/\?demo/.test(window.location.href)) {
setTimeout(function() { setTimeout(function() {
events.trigger('submitCommandValueFromEvent', "gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc; gc; git rebase master; git checkout master; gc; gc; git merge bugFix"); events.trigger('submitCommandValueFromEvent', "gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc; gc; git rebase -i HEAD~2; git rebase master; git checkout master; gc; gc; git merge bugFix");
}, 500); }, 500);
} }
}; };
@ -11529,7 +11524,7 @@ var init = function(){
if (/\?demo/.test(window.location.href)) { if (/\?demo/.test(window.location.href)) {
setTimeout(function() { setTimeout(function() {
events.trigger('submitCommandValueFromEvent', "gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc; gc; git rebase master; git checkout master; gc; gc; git merge bugFix"); events.trigger('submitCommandValueFromEvent', "gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc; gc; git rebase -i HEAD~2; git rebase master; git checkout master; gc; gc; git merge bugFix");
}, 500); }, 500);
} }
}; };
@ -14553,8 +14548,8 @@ var LeftRightView = PosNegBase.extend({
className: 'leftRightView box horizontal center', className: 'leftRightView box horizontal center',
template: _.template($('#left-right-template').html()), template: _.template($('#left-right-template').html()),
events: { events: {
'click .confirmButton': 'positive', 'click .left': 'negative',
'click .cancelButton': 'negative' 'click .right': 'positive'
}, },
initialize: function(options) { initialize: function(options) {
@ -14933,11 +14928,6 @@ var InteractiveRebaseView = ContainedBase.extend({
destination: this.$('.confirmCancel'), destination: this.$('.confirmCancel'),
deferred: deferred deferred: deferred
}); });
new LeftRightView({
destination: this.$('.confirmCancel'),
deferred: deferred
});
} }
}); });

View file

@ -20,7 +20,7 @@ var init = function(){
if (/\?demo/.test(window.location.href)) { if (/\?demo/.test(window.location.href)) {
setTimeout(function() { setTimeout(function() {
events.trigger('submitCommandValueFromEvent', "gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc; gc; git rebase master; git checkout master; gc; gc; git merge bugFix"); events.trigger('submitCommandValueFromEvent', "gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc; gc; git rebase -i HEAD~2; git rebase master; git checkout master; gc; gc; git merge bugFix");
}, 500); }, 500);
} }
}; };

View file

@ -61,8 +61,8 @@ var LeftRightView = PosNegBase.extend({
className: 'leftRightView box horizontal center', className: 'leftRightView box horizontal center',
template: _.template($('#left-right-template').html()), template: _.template($('#left-right-template').html()),
events: { events: {
'click .confirmButton': 'positive', 'click .left': 'negative',
'click .cancelButton': 'negative' 'click .right': 'positive'
}, },
initialize: function(options) { initialize: function(options) {

View file

@ -110,11 +110,6 @@ var InteractiveRebaseView = ContainedBase.extend({
destination: this.$('.confirmCancel'), destination: this.$('.confirmCancel'),
deferred: deferred deferred: deferred
}); });
new LeftRightView({
destination: this.$('.confirmCancel'),
deferred: deferred
});
} }
}); });