Skip to content

Commit

Permalink
[refactor dist] Update to window-stream@0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Mar 11, 2013
1 parent 34278ca commit 9a70994
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -19,7 +19,7 @@
"sendgrid-web": "0.0.2",
"telenode": "0.0.3",
"utile": "0.1.7",
"window-stream": "0.2.3"
"window-stream": "0.3.x"
},
"devDependencies": {
"optimist": "0.3.4",
Expand Down
8 changes: 6 additions & 2 deletions test/reactor/moving-average-test.js
Expand Up @@ -31,7 +31,9 @@ vows.describe('godot/reactor/moving-average').addBatch({
}, 1000, 10),
100,
function (all) {
all.forEach(function (num, i) {
all.map(function (data) {
return data.metric;
}).forEach(function (num, i) {
var di = i + 1,
set = di < 10
? range(1, di)
Expand Down Expand Up @@ -63,7 +65,9 @@ vows.describe('godot/reactor/moving-average').addBatch({
}, 1000, 10),
100,
function (all) {
all.forEach(function (num, i) {
all.map(function (data) {
return data.metric;
}).forEach(function (num, i) {
var di = i + 1,
divisor = di < 10 ? di : 10;

Expand Down

0 comments on commit 9a70994

Please sign in to comment.