From 13334e3b4dedddd4f6f8b404d22bc2c71e9b554a Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 29 Jul 2013 20:25:07 +0000 Subject: [PATCH] each --- modules/web/web.js | 1 + views/warning/warnings.jade | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/web/web.js b/modules/web/web.js index c986750..a3bbd5f 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -91,6 +91,7 @@ var webInterface = function(dbot) { var moduleNames = _.keys(dbot.modules); var indexModules = []; + // fix the thingy _.each(moduleNames, function(moduleName) { var modulePath = '/' + moduleName; if(_.include(routes, modulePath)) { diff --git a/views/warning/warnings.jade b/views/warning/warnings.jade index 18bfc70..2aac88b 100644 --- a/views/warning/warnings.jade +++ b/views/warning/warnings.jade @@ -12,7 +12,7 @@ block content th Warner th Reason tbody - for warning, key in warnings + each warning, key in warnings tr td #{new Date(warning.time)} td #{warning.warner}