Document optionality of removeMeta
This commit is contained in:
parent
4d87f071da
commit
d1b3ffdf81
|
@ -106,7 +106,7 @@ Patch.prototype.limit = function (bound) {
|
||||||
};
|
};
|
||||||
|
|
||||||
var metaLabelSet = Immutable.Set(["meta"]);
|
var metaLabelSet = Immutable.Set(["meta"]);
|
||||||
Patch.prototype.computeAggregate = function (label, base, removeMeta) {
|
Patch.prototype.computeAggregate = function (label, base, removeMeta /* optional flag */) {
|
||||||
return new Patch(Route.subtract(this.added, base, addCombiner),
|
return new Patch(Route.subtract(this.added, base, addCombiner),
|
||||||
Route.subtract(this.removed, base, removeCombiner));
|
Route.subtract(this.removed, base, removeCombiner));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue