From d470b0eb5302af1301002e9874ebe1af88e91b13 Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 15 Jan 2015 22:22:24 -1000 Subject: [PATCH] Less jquery, more templating in conversation view `if (foo) then jquery-dom-insert...` is a poor pattern to follow. Instead, let mustache do the work. --- index.html | 7 +++++++ js/views/conversation_view.js | 14 +++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 303ae21d..ce1db83b 100644 --- a/index.html +++ b/index.html @@ -61,6 +61,13 @@ + {{#group}} + + + {{/group}} + {{^group}} + + {{/group}}