|
|
@@ -14,20 +14,20 @@ var LastAccumulator = module.exports = function LastAccumulator(){
|
|
|
}, klass = LastAccumulator, base = require("./Accumulator"), proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
|
|
|
|
|
|
proto.processInternal = function processInternal(input, merging) {
|
|
|
- // always remember the last value seen
|
|
|
- this._last = input;
|
|
|
+ // always remember the last value seen
|
|
|
+ this._last = input;
|
|
|
};
|
|
|
|
|
|
proto.getValue = function getValue(toBeMerged) {
|
|
|
- return this._last;
|
|
|
+ return this._last;
|
|
|
};
|
|
|
|
|
|
proto.reset = function reset() {
|
|
|
- this._last = undefined;
|
|
|
+ this._last = undefined;
|
|
|
};
|
|
|
|
|
|
klass.create = function create() {
|
|
|
- return new LastAccumulator();
|
|
|
+ return new LastAccumulator();
|
|
|
};
|
|
|
|
|
|
proto.getOpName = function getOpName(){
|