Fix all jshint warnings in core code

This commit is contained in:
Nick O'Leary
2014-07-01 23:46:25 +01:00
parent c18119f26e
commit 649c82f7d7
9 changed files with 108 additions and 60 deletions

View File

@@ -49,7 +49,7 @@ function setupUI(settings) {
if (iconCache[req.params.icon]) {
res.sendfile(iconCache[req.params.icon]);
} else {
for (var p in icon_paths) {
for (var p=0;p<icon_paths.length;p++) {
var iconPath = path.join(icon_paths[p],req.params.icon);
if (fs.existsSync(iconPath)) {
res.sendfile(iconPath);