thelounge/client/js/libs/handlebars/diff.js
Pavel Djundik fb87bd3a58 Webpack
2016-12-27 19:15:30 +02:00

10 lines
135 B
JavaScript

var diff;
module.exports = function(a, opt) {
if (a !== diff) {
diff = a;
return opt.fn(this);
}
return opt.inverse(this);
};