lint file
This commit is contained in:
parent
6707072ef1
commit
7e21634987
|
@ -88,19 +88,13 @@ const QueryRowContentComponent = Ember.Component.extend({
|
||||||
ctx["target"] = name;
|
ctx["target"] = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (t.name === "category" || t.name === "badge" || t.name === "reltime") {
|
||||||
t.name === "category" ||
|
|
||||||
t.name === "badge" ||
|
|
||||||
t.name === "reltime"
|
|
||||||
) {
|
|
||||||
// only replace helpers if needed
|
// only replace helpers if needed
|
||||||
params.helpers = helpers;
|
params.helpers = helpers;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return new Handlebars.SafeString(
|
return new Handlebars.SafeString((t.template || fallback)(ctx, params));
|
||||||
(t.template || fallback)(ctx, params)
|
|
||||||
);
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return "error";
|
return "error";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue