mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
each
This commit is contained in:
parent
abfcee0e48
commit
13334e3b4d
@ -91,6 +91,7 @@ var webInterface = function(dbot) {
|
|||||||
var moduleNames = _.keys(dbot.modules);
|
var moduleNames = _.keys(dbot.modules);
|
||||||
var indexModules = [];
|
var indexModules = [];
|
||||||
|
|
||||||
|
// fix the thingy
|
||||||
_.each(moduleNames, function(moduleName) {
|
_.each(moduleNames, function(moduleName) {
|
||||||
var modulePath = '/' + moduleName;
|
var modulePath = '/' + moduleName;
|
||||||
if(_.include(routes, modulePath)) {
|
if(_.include(routes, modulePath)) {
|
||||||
|
@ -12,7 +12,7 @@ block content
|
|||||||
th Warner
|
th Warner
|
||||||
th Reason
|
th Reason
|
||||||
tbody
|
tbody
|
||||||
for warning, key in warnings
|
each warning, key in warnings
|
||||||
tr
|
tr
|
||||||
td #{new Date(warning.time)}
|
td #{new Date(warning.time)}
|
||||||
td #{warning.warner}
|
td #{warning.warner}
|
||||||
|
Loading…
Reference in New Issue
Block a user