Fix build error.

This commit is contained in:
Chinmay Pandhare
2017-03-15 18:33:47 +05:30
parent 2dbd881b8c
commit 7c8b32079c
2 changed files with 4 additions and 4 deletions

View File

@@ -184165,7 +184165,7 @@ ImageSequencer = function ImageSequencer(options) {
function addStep(name, o) {
console.log('adding step "' + name + '"');
if (!(options.instanceName) && typeof(window) != undefined && this != window)
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 (!(options.instanceName) && typeof(window) != undefined && this != window)
if (typeof(window) != undefined)
for(var variable in window)
if(window[variable] == this)
options.instanceName = variable;

View File

@@ -19,7 +19,7 @@ ImageSequencer = function ImageSequencer(options) {
function addStep(name, o) {
console.log('adding step "' + name + '"');
if (!(options.instanceName) && typeof(window) != undefined && this != window)
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 (!(options.instanceName) && typeof(window) != undefined && this != window)
if (typeof(window) != undefined)
for(var variable in window)
if(window[variable] == this)
options.instanceName = variable;