thelounge/client/js/libs/handlebars/equal.js

10 lines
150 B
JavaScript
Raw Normal View History

2016-12-18 15:53:28 +00:00
module.exports = function(a, b, opt) {
a = a.toString();
b = b.toString();
if (a === b) {
return opt.fn(this);
2014-07-20 19:49:44 +00:00
}
2016-12-18 15:53:28 +00:00
return opt.inverse(this);
};