Skip to content

Commit

Permalink
Constrain the size of xs
Browse files Browse the repository at this point in the history
  • Loading branch information
earldouglas committed Jun 13, 2015
1 parent a00a074 commit 0b7bccd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/teep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ module edc {
}
};
f(function (x) {
xs.unshift(x);
xs[0] = x;
kk();
});
f2.apply(function (x) {
xs.push(x);
xs[1] = x;
kk();
});
});
Expand Down
4 changes: 2 additions & 2 deletions teep.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ var edc;
}
};
f(function (x) {
xs.unshift(x);
xs[0] = x;
kk();
});
f2.apply(function (x) {
xs.push(x);
xs[1] = x;
kk();
});
});
Expand Down

0 comments on commit 0b7bccd

Please sign in to comment.