Merge branch 'text_themes' of https://github.com/CoryChaplin/KiwiIRC into CoryChaplin...
[KiwiIRC.git] / client / src / models / query.js
CommitLineData
a61a7bc8 1_kiwi.model.Query = _kiwi.model.Channel.extend({\r
b9c64fcd
D
2 initialize: function (attributes) {\r
3 var name = this.get("name") || "",\r
4 members;\r
5\r
eaaf73b0 6 this.view = new _kiwi.view.Channel({"model": this, "name": name});\r
b9c64fcd
D
7 this.set({\r
8 "name": name,\r
9 "scrollback": []\r
10 }, {"silent": true});\r
425efe7a
JA
11 },\r
12\r
13 isChannel: function () {\r
14 return false;\r
15 },\r
16\r
17 isQuery: function () {\r
18 return true;\r
b9c64fcd
D
19 }\r
20});