ok multiviews are dunzo

This commit is contained in:
Peter Cottle 2012-12-24 22:34:56 -08:00
parent 56c6da35d2
commit b1427556ef
6 changed files with 43 additions and 12 deletions

View file

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

View file

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

View file

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