diff --git a/examples/lena_from_gif.png b/examples/lena_from_gif.png deleted file mode 100644 index c87d48c7..00000000 Binary files a/examples/lena_from_gif.png and /dev/null differ diff --git a/lib/Batch.js b/lib/Batch.js index 6ff8afd8..9b8b10e3 100644 --- a/lib/Batch.js +++ b/lib/Batch.js @@ -4,14 +4,15 @@ this.__image = image; this.__queue = []; this.__running = false; - this.__addOp = function(handle, args) { - this.__queue.push({ - handle: handle, - args: args - }); - }; } + Batch.prototype.__addOp = function(handle, args) { + this.__queue.push({ + handle: handle, + args: args + }); + }; + // EXPORTS // ------- module.exports = Batch;