From 1d26789a9730842cfe7a18c181c1b6d7168637b4 Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Fri, 4 Jan 2013 20:50:26 +0000 Subject: [PATCH 1/3] Restored deprecated express usage --- modules/web/web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/web.js b/modules/web/web.js index 3f3b897..28620b6 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -3,7 +3,7 @@ var express = require('express'), var webInterface = function(dbot) { var pub = 'public'; - var app = express(); + var app = express.createServer(); app.use(express.static(pub)); app.set('view engine', 'jade'); From 2e9535bba11975b0e818303b7c0b397ebd80d95b Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Fri, 4 Jan 2013 21:26:11 +0000 Subject: [PATCH 2/3] Updated web module for Express 3.0.x --- modules/web/web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/web.js b/modules/web/web.js index 28620b6..3f3b897 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -3,7 +3,7 @@ var express = require('express'), var webInterface = function(dbot) { var pub = 'public'; - var app = express.createServer(); + var app = express(); app.use(express.static(pub)); app.set('view engine', 'jade'); From 046411f2c38900f236a864b4623fb281c93a8e2d Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Fri, 4 Jan 2013 21:43:40 +0000 Subject: [PATCH 3/3] Update views/users/connections.jade --- views/users/connections.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/users/connections.jade b/views/users/connections.jade index 0e7f06f..f6750fb 100644 --- a/views/users/connections.jade +++ b/views/users/connections.jade @@ -4,6 +4,6 @@ block content h3 Current Connections div#backlink a(href='/') « Home -#modulelinks + #modulelinks -each connection in connections a.module(href='/channels/'+connection) #{connection}