Remove refs to appWindow

We only need the regular window, not the AppWindow interface, which is
specific to chrome apps.
This commit is contained in:
lilia 2016-10-07 10:43:02 +09:00
parent 9da4cdefd7
commit 674eeb8313
3 changed files with 25 additions and 27 deletions

View file

@ -49,7 +49,7 @@
if ($el === null || $el.length === 0) {
var view = new Whisper.ConversationView({
model: conversation,
appWindow: this.model.appWindow
window: this.model.window
});
$el = view.$el;
}
@ -107,7 +107,7 @@
new Whisper.FontSizeView({ el: this.$el });
this.conversation_stack = new Whisper.ConversationStack({
el: this.$('.conversation-stack'),
model: { appWindow: options.appWindow }
model: { window: options.window }
});
var inboxCollection = getInboxCollection();