blob: 64b9a8fff488e01a5f228d11694c1080d8f9f390 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
define(
[
'flight/lib/component',
'views/templates',
'mixins/with_hide_and_show',
'page/events'
],
function(defineComponent, templates, withHideAndShow, events) {
'use strict';
return defineComponent(noMessageSelectedPane, withHideAndShow);
function noMessageSelectedPane() {
this.render = function() {
this.$node.html(templates.noMessageSelected());
};
this.after('initialize', function () {
this.render();
this.on(document, events.dispatchers.rightPane.clear, this.teardown);
});
}
}
);
|