From 6df57c4a9b6a30f2fadccf2255bfaee08db26442 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 11 Jun 2013 13:51:25 -0400 Subject: [PATCH] committing the broken template parsing for andrew to see (webserver.js, line 121. Uncomment the commented out object, or substitute in "posts") --- public/templates/noscript/topic.tpl | 2 +- src/webserver.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/templates/noscript/topic.tpl b/public/templates/noscript/topic.tpl index a0b4445589..6e5684ea4d 100644 --- a/public/templates/noscript/topic.tpl +++ b/public/templates/noscript/topic.tpl @@ -9,7 +9,7 @@ \ No newline at end of file diff --git a/src/webserver.js b/src/webserver.js index 68d8126acb..8ba6590594 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -115,9 +115,10 @@ var express = require('express'), var topic_url = tid + (req.params.slug ? '/' + req.params.slug : ''); topics.get_posts_noscript(tid, ((req.user) ? req.user.uid : 0), function(posts) { + console.log(posts); res.send( build_header() + - '\n\t' + + '\n\t' + '\n\t' + templates['footer'] );