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