Advertisement
Guest User

Untitled

a guest
Jan 31st, 2013
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. define("templates/partials/attachment", ["handlebars"], function (e) {
  2.     var t = e.template,
  3.         n = e.templates = e.templates || {};
  4.     n["attachment.mustache"] = t(function (e, t, n, r, i) {
  5.         n = n || e.helpers;
  6.         var s = "",
  7.             o, u, a = "function",
  8.             f = this.escapeExpression;
  9.         return s += '<figure class="work-img-container">\n    <a href="', u = n.url, u ? o = u.call(t, {
  10.             hash: {}
  11.         }) : (o = t.url, o = typeof o === a ? o() : o), s += f(o) + '" class="highslide">\n        <img class="work-img work-img-large" src="', u = n.thumb, u ? o = u.call(t, {
  12.             hash: {}
  13.         }) : (o = t.thumb, o = typeof o === a ? o() : o), s += f(o) + '" alt="', u = n.alt, u ? o = u.call(t, {
  14.             hash: {}
  15.         }) : (o = t.alt, o = typeof o === a ? o() : o), s += f(o) + '" width="200">\n    </a>\n</figure>\n', s
  16.     })
  17. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement