thelounge/client/js/libs/handlebars/diff.js
2017-03-18 11:21:18 +02:00

12 lines
150 B
JavaScript

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