Removing old comment
This commit is contained in:
parent
f86f67ff24
commit
f13a6aa308
22
app.js
22
app.js
@ -9,24 +9,4 @@ if (argv.port) {
|
|||||||
|
|
||||||
var server =
|
var server =
|
||||||
new (require("./lib/server.js"))()
|
new (require("./lib/server.js"))()
|
||||||
.listen(PORT);
|
.listen(PORT);
|
||||||
|
|
||||||
// Temp
|
|
||||||
/*
|
|
||||||
|
|
||||||
var models = require("./lib/models.js");
|
|
||||||
var network = new models.Network({host: "irc.network.org"});
|
|
||||||
|
|
||||||
server.networks.add(network);
|
|
||||||
network.get("channels").add(new models.Channel({
|
|
||||||
name: "#foo",
|
|
||||||
messages: [
|
|
||||||
new models.Message({user: "user", text: "Hi!"}),
|
|
||||||
new models.Message({user: "user", text: ".. Hello?"}),
|
|
||||||
],
|
|
||||||
users: [
|
|
||||||
new models.User({name: "user"}),
|
|
||||||
new models.User({name: "other_user"}),
|
|
||||||
]:
|
|
||||||
}));
|
|
||||||
*/
|
|
Loading…
Reference in New Issue
Block a user