Commit | Line | Data |
---|---|---|
f8508c7a | 1 | _kiwi.model.Server = _kiwi.model.Channel.extend({\r |
9df70c63 D |
2 | initialize: function (attributes) {\r |
3 | var name = "Server";\r | |
c794b877 | 4 | this.view = new _kiwi.view.Channel({"model": this, "name": name});\r |
9df70c63 D |
5 | this.set({\r |
6 | "scrollback": [],\r | |
7 | "name": name\r | |
8 | }, {"silent": true});\r | |
9 | \r | |
10 | //this.addMsg(' ', '--> Kiwi IRC: Such an awesome IRC client', '', {style: 'color:#009900;'});\r | |
425efe7a JA |
11 | },\r |
12 | \r | |
13 | isServer: function () {\r | |
14 | return true;\r | |
15 | },\r | |
16 | \r | |
17 | isChannel: function () {\r | |
18 | return false;\r | |
9df70c63 D |
19 | }\r |
20 | }); |