From 5750481e029dd9b784186cd3ab16dfa14013dda2 Mon Sep 17 00:00:00 2001 From: Richard Harrington Date: Sun, 18 Aug 2013 19:58:04 -0400 Subject: [PATCH] fixed bug in Queue.enqueueArray --- public/js/lib/Queue.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/lib/Queue.js b/public/js/lib/Queue.js index fa5c061..a8d19c8 100644 --- a/public/js/lib/Queue.js +++ b/public/js/lib/Queue.js @@ -27,8 +27,8 @@ function Queue(){ queue.push(item); } - this.enqueue_array = function(arr) { - return queue.concat(arr); + this.enqueueArray = function(arr) { + queue = queue.concat(arr); } this.dequeue = function(){