mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-22 07:16:38 +02:00
8 lines
197 B
JavaScript
8 lines
197 B
JavaScript
'use strict';
|
|
|
|
var Handlebars = require('hbs');
|
|
|
|
Handlebars.registerHelper('ifneq', function(lvalue, rvalue, options) {
|
|
return lvalue !== rvalue ? options.fn(this) : options.inverse(this);
|
|
});
|