mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-28 07:50:55 +02:00
6 lines
179 B
JavaScript
6 lines
179 B
JavaScript
import Handlebars from 'hbs';
|
|
|
|
Handlebars.registerHelper('ifeq', function (lvalue, rvalue, options) {
|
|
return lvalue === rvalue ? options.fn(this) : options.inverse(this);
|
|
});
|