thelounge/client/js/libs/handlebars/diff.js

11 lines
135 B
JavaScript
Raw Normal View History

2014-10-04 19:47:27 +00:00
var diff;
2016-12-18 15:53:28 +00:00
module.exports = function(a, opt) {
if (a !== diff) {
diff = a;
return opt.fn(this);
2014-10-04 19:47:27 +00:00
}
2016-12-18 15:53:28 +00:00
return opt.inverse(this);
};