mirror of
https://github.com/thelounge/thelounge
synced 2024-12-24 11:23:07 +00:00
10 lines
149 B
JavaScript
10 lines
149 B
JavaScript
|
Handlebars.registerHelper(
|
||
|
"equal", function(a, b, opt) {
|
||
|
a = a.toString();
|
||
|
b = b.toString();
|
||
|
if (a == b) {
|
||
|
return opt.fn(this);
|
||
|
}
|
||
|
}
|
||
|
);
|