浏览代码

EAGLESIX-2651: Last: tabs beats spaces

Kyle P Davis 11 年之前
父节点
当前提交
4eee82a9e4
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      lib/pipeline/accumulators/LastAccumulator.js

+ 5 - 5
lib/pipeline/accumulators/LastAccumulator.js

@@ -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(){