Browse files

slice instead of concat

  • Loading branch information...
1 parent 911402e commit e794ce7fd9945b46028d462617a27ba05276948a @pkrumins committed Oct 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/store.js
View
2 lib/store.js
@@ -95,7 +95,7 @@ function Store(opts, cb) {
}
function queue(action, args) {
- actionQueue.push({ action : action, args : [].concat.call([], args) });
+ actionQueue.push({ action : action, args : [].slice.call([], args) });
}
self.set = function (key, value, cb) {

0 comments on commit e794ce7

Please sign in to comment.