init commit
This commit is contained in:
7
ui/src/helpers/handlebars/eq.js
Normal file
7
ui/src/helpers/handlebars/eq.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports = function(v1, v2, opts) {
|
||||
if (v1 === v2) {
|
||||
return opts.fn(this);
|
||||
} else {
|
||||
return opts.inverse(this);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user