From 2378a67895aa1d4d1dae156f12a1b11a7dec772c Mon Sep 17 00:00:00 2001 From: Ove Sundal Date: Wed, 22 Jan 2020 17:31:06 +0100 Subject: [PATCH] remove redundant function (#1532) Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com> Co-authored-by: Jeffrey Warren --- src/modules/AddQR/Module.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/AddQR/Module.js b/src/modules/AddQR/Module.js index 2bfb124d..61f8cf05 100644 --- a/src/modules/AddQR/Module.js +++ b/src/modules/AddQR/Module.js @@ -17,10 +17,6 @@ module.exports = function AddQR(options, UI) { var step = this; - function changePixel(r, g, b, a) { - return [r, g, b, a]; - } - function extraManipulation(pixels, setRenderState, generateOutput) { let iw = pixels.shape[0], // Width of Original Image ih = pixels.shape[1]; // Height of Original Image @@ -50,7 +46,6 @@ module.exports = function AddQR(options, UI) { return require('../_nomodule/PixelManipulation.js')(input, { output: output, ui: options.step.ui, - changePixel: changePixel, extraManipulation: extraManipulation, format: input.format, image: options.image,