mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-30 09:44:26 +02:00
ok multiviews are dunzo
This commit is contained in:
parent
56c6da35d2
commit
b1427556ef
6 changed files with 43 additions and 12 deletions
|
@ -94,7 +94,6 @@ var CommandPromptView = Backbone.View.extend({
|
|||
|
||||
onKey: function(e) {
|
||||
if (!this.listening) {
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -104,7 +103,6 @@ var CommandPromptView = Backbone.View.extend({
|
|||
|
||||
onKeyUp: function(e) {
|
||||
if (!this.listening) {
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ var LeftRightView = PositiveNegativeBase.extend({
|
|||
|
||||
var ModalView = Backbone.View.extend({
|
||||
tagName: 'div',
|
||||
className: 'modalView box horizontal center transitionOpacity',
|
||||
className: 'modalView box horizontal center transitionOpacityLinear',
|
||||
template: _.template($('#modal-view-template').html()),
|
||||
|
||||
initialize: function(options) {
|
||||
|
|
|
@ -35,6 +35,16 @@ var MultiView = Backbone.View.extend({
|
|||
options: {
|
||||
markdown: 'Im second'
|
||||
}
|
||||
}, {
|
||||
type: 'ModalAlert',
|
||||
options: {
|
||||
markdown: 'Im second'
|
||||
}
|
||||
}, {
|
||||
type: 'ModalAlert',
|
||||
options: {
|
||||
markdown: 'Im second'
|
||||
}
|
||||
}];
|
||||
this.deferred = options.deferred;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue