postContent.js

From disqus.com, 7 Months ago, written in JavaScript, viewed 3 times.
URL https://pastebin.freepbx.org/view/0922ec8b Embed
Download Paste or View Raw
  1. define('home/templates/postContent',['handlebars', 'handlebars.partials', 'core/extensions/handlebars.helpers'], function(Handlebars) {
  2.  
  3. return Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
  4.     return "comment-message-hidden";
  5. },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
  6.     var stack1, alias1=depth0 != null ? depth0 : {}, alias2=container.escapeExpression;
  7.  
  8.   return "<div class=\"comment-message expanded "
  9.     + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isHidden : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
  10.     + "\"\ndata-role=\"message\" dir=\"auto\">\n"
  11.     + ((stack1 = container.lambda((depth0 != null ? depth0.message : depth0), depth0)) != null ? stack1 : "")
  12.     + "\n<div><ul class=\"post-media\" data-role=\"post-media-list\"></ul></div>\n</div>\n<a  href=\"#\" class=\"curtain-truncate hidden\" title=\""
  13.     + alias2(helpers.gettext.call(alias1,"see more",{"name":"gettext","hash":{},"data":data}))
  14.     + "\"\ndata-action=\"expand\"\ndata-target=\".comment-message\">"
  15.     + alias2(helpers.gettext.call(alias1,"see more",{"name":"gettext","hash":{},"data":data}))
  16.     + "</a>\n";
  17. },"useData":true})
  18.  
  19. });
  20. // https://c.disquscdn.com/next/82c6de3/home/js/templates/postContent.js

Replies to postContent.js rss

Title Name Language When
postActions.js disqus.com javascript 7 Months ago.

Reply to "postContent.js"

Here you can reply to the paste above