clean up conditional comments in the DOM; conditionals now treat undefined variables as false; closes #617

This commit is contained in:
psychobunny
2013-12-07 15:48:30 -05:00
parent 347f5c132e
commit 090d35f306
3 changed files with 8 additions and 6 deletions

View File

@@ -188,8 +188,7 @@
stats.raw = JSON.stringify(stats, null, 4);
stats.mongo = true;
//remove this when andrew adds in undefined checking to templates
stats.redis = false;
callback(err, stats);
});

View File

@@ -168,8 +168,6 @@
}
redisData.raw = JSON.stringify(redisData, null, 4);
redisData.redis = true;
//remove this when andrew adds in undefined checking to templates
redisData.mongo = false;
callback(null, redisData);
});