From aea3c3ea1888fbaf0fc7fb75774ac18f91a86e9b Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Sun, 24 Jan 2016 10:16:27 -0500 Subject: [PATCH] Recompile templates --- client/js/shout.templates.js | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/client/js/shout.templates.js b/client/js/shout.templates.js index 65901cbf..37c9eaf4 100644 --- a/client/js/shout.templates.js +++ b/client/js/shout.templates.js @@ -110,13 +110,31 @@ templates['msg'] = template({"1":function(depth0,helpers,partials,data) { + "\n \n \n"; stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.from : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}); if (stack1 != null) { buffer += stack1; } - buffer += " \n \n " - + escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper))) - + "\n"; + buffer += " \n \n"; stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, (depth0 != null ? depth0.type : depth0), "toggle", {"name":"equal","hash":{},"fn":this.program(5, data),"inverse":this.program(8, data),"data":data})); if (stack1 != null) { buffer += stack1; } return buffer + " \n\n"; },"useData":true}); +templates['msg_action'] = template({"1":function(depth0,helpers,partials,data) { + return "self"; + },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { + var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "
\n \n " + + escapeExpression(((helpers.tz || (depth0 && depth0.tz) || helperMissing).call(depth0, (depth0 != null ? depth0.time : depth0), {"name":"tz","hash":{},"data":data}))) + + "\n \n \n \n " + + escapeExpression(((helper = (helper = helpers.mode || (depth0 != null ? depth0.mode : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"mode","hash":{},"data":data}) : helper))) + + escapeExpression(((helper = (helper = helpers.from || (depth0 != null ? depth0.from : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"from","hash":{},"data":data}) : helper))) + + "\n " + + escapeExpression(((helper = (helper = helpers.formattedAction || (depth0 != null ? depth0.formattedAction : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"formattedAction","hash":{},"data":data}) : helper))) + + "\n "; + stack1 = ((helpers.parse || (depth0 && depth0.parse) || helperMissing).call(depth0, (depth0 != null ? depth0.text : depth0), {"name":"parse","hash":{},"data":data})); + if (stack1 != null) { buffer += stack1; } + return buffer + "\n \n
\n"; +},"useData":true}); templates['network'] = template({"1":function(depth0,helpers,partials,data) { var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; return "