11 lines
135 B
JavaScript
11 lines
135 B
JavaScript
var diff;
|
|
|
|
module.exports = function(a, opt) {
|
|
if (a !== diff) {
|
|
diff = a;
|
|
return opt.fn(this);
|
|
}
|
|
|
|
return opt.inverse(this);
|
|
};
|