mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
Update Module.js (#1090)
Added const $ = window.$; at line 19 inside extraManipulation(pixels)
This commit is contained in:
committed by
Jeffrey Warren
parent
1cc9fd1a50
commit
3741d679bd
@@ -16,6 +16,7 @@ module.exports = function Average(options, UI) {
|
||||
|
||||
// do the averaging
|
||||
function extraManipulation(pixels) {
|
||||
const $ = window.$;
|
||||
var i = 0, sum = [0, 0, 0, 0];
|
||||
while (i < pixels.data.length) {
|
||||
sum[0] += pixels.data[i++];
|
||||
|
||||
Reference in New Issue
Block a user