diff --git a/dist/image-sequencer.js b/dist/image-sequencer.js index 82c17e75..655fc72b 100644 --- a/dist/image-sequencer.js +++ b/dist/image-sequencer.js @@ -184165,7 +184165,7 @@ ImageSequencer = function ImageSequencer(options) { function addStep(name, o) { console.log('adding step "' + name + '"'); - if (typeof(window) != undefined) + if (typeof(window) != "undefined") for(var variable in window) if(window[variable] == this) options.instanceName = variable; @@ -184253,7 +184253,7 @@ ImageSequencer = function ImageSequencer(options) { // i.e. from parameter // this could send the image to ImageSelect, or something? function loadImage(src, callback) { - if (typeof(window) != undefined) + if (typeof(window) != "undefined") for(var variable in window) if(window[variable] == this) options.instanceName = variable; @@ -184613,7 +184613,7 @@ module.exports = function PixelManipulation(image, options) { } // iterate through pixels; - // this could possibly be more efficient; see + // this could possibly be more efficient; see // https://github.com/p-v-o-s/infragram-js/blob/master/public/infragram.js#L173-L181 for(var x = 1; x < pixels.shape[0]; x++) { for(var y = 1; y < pixels.shape[1]; y++) { diff --git a/src/ImageSequencer.js b/src/ImageSequencer.js index 0bba55a5..52a24e80 100644 --- a/src/ImageSequencer.js +++ b/src/ImageSequencer.js @@ -19,7 +19,7 @@ ImageSequencer = function ImageSequencer(options) { function addStep(name, o) { console.log('adding step "' + name + '"'); - if (typeof(window) != undefined) + if (typeof(window) != "undefined") for(var variable in window) if(window[variable] == this) options.instanceName = variable; @@ -107,7 +107,7 @@ ImageSequencer = function ImageSequencer(options) { // i.e. from parameter // this could send the image to ImageSelect, or something? function loadImage(src, callback) { - if (typeof(window) != undefined) + if (typeof(window) != "undefined") for(var variable in window) if(window[variable] == this) options.instanceName = variable; diff --git a/src/modules/PixelManipulation.js b/src/modules/PixelManipulation.js index de7b2a70..aa30cd79 100644 --- a/src/modules/PixelManipulation.js +++ b/src/modules/PixelManipulation.js @@ -22,7 +22,7 @@ module.exports = function PixelManipulation(image, options) { } // iterate through pixels; - // this could possibly be more efficient; see + // this could possibly be more efficient; see // https://github.com/p-v-o-s/infragram-js/blob/master/public/infragram.js#L173-L181 for(var x = 1; x < pixels.shape[0]; x++) { for(var y = 1; y < pixels.shape[1]; y++) {