Merge branch 'development' of https://github.com/crtaylor123/KiwiIRC into crtaylor123...
[KiwiIRC.git] / client / src / models / server.js
1 _kiwi.model.Server = _kiwi.model.Channel.extend({
2 initialize: function (attributes) {
3 var name = "Server";
4 this.view = new _kiwi.view.Channel({"model": this, "name": name});
5 this.set({
6 "scrollback": [],
7 "name": name
8 }, {"silent": true});
9
10 //this.addMsg(' ', '--> Kiwi IRC: Such an awesome IRC client', '', {style: 'color:#009900;'});
11 },
12
13 isServer: function () {
14 return true;
15 },
16
17 isChannel: function () {
18 return false;
19 }
20 });