Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define("templates/partials/attachment", ["handlebars"], function (e) {
- var t = e.template,
- n = e.templates = e.templates || {};
- n["attachment.mustache"] = t(function (e, t, n, r, i) {
- n = n || e.helpers;
- var s = "",
- o, u, a = "function",
- f = this.escapeExpression;
- return s += '<figure class="work-img-container">\n <a href="', u = n.url, u ? o = u.call(t, {
- hash: {}
- }) : (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, {
- hash: {}
- }) : (o = t.thumb, o = typeof o === a ? o() : o), s += f(o) + '" alt="', u = n.alt, u ? o = u.call(t, {
- hash: {}
- }) : (o = t.alt, o = typeof o === a ? o() : o), s += f(o) + '" width="200">\n </a>\n</figure>\n', s
- })
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement