hardlounge/client/js/libs/handlebars/diff.js

13 lines
150 B
JavaScript
Raw Normal View History

"use strict";
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);
};