mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 03:40:03 +01:00
Fix build error.
This commit is contained in:
4
dist/image-sequencer.js
vendored
4
dist/image-sequencer.js
vendored
@@ -184165,7 +184165,7 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
function addStep(name, o) {
|
function addStep(name, o) {
|
||||||
console.log('adding step "' + name + '"');
|
console.log('adding step "' + name + '"');
|
||||||
|
|
||||||
if (!(options.instanceName) && window && this != window)
|
if (!(options.instanceName) && typeof(window) != undefined && this != window)
|
||||||
for(var variable in window)
|
for(var variable in window)
|
||||||
if(window[variable] == this)
|
if(window[variable] == this)
|
||||||
options.instanceName = variable;
|
options.instanceName = variable;
|
||||||
@@ -184253,7 +184253,7 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
// i.e. from parameter
|
// i.e. from parameter
|
||||||
// this could send the image to ImageSelect, or something?
|
// this could send the image to ImageSelect, or something?
|
||||||
function loadImage(src, callback) {
|
function loadImage(src, callback) {
|
||||||
if (!(options.instanceName) && window && this != window)
|
if (!(options.instanceName) && typeof(window) != undefined && this != window)
|
||||||
for(var variable in window)
|
for(var variable in window)
|
||||||
if(window[variable] == this)
|
if(window[variable] == this)
|
||||||
options.instanceName = variable;
|
options.instanceName = variable;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
function addStep(name, o) {
|
function addStep(name, o) {
|
||||||
console.log('adding step "' + name + '"');
|
console.log('adding step "' + name + '"');
|
||||||
|
|
||||||
if (!(options.instanceName) && window && this != window)
|
if (!(options.instanceName) && typeof(window) != undefined && this != window)
|
||||||
for(var variable in window)
|
for(var variable in window)
|
||||||
if(window[variable] == this)
|
if(window[variable] == this)
|
||||||
options.instanceName = variable;
|
options.instanceName = variable;
|
||||||
@@ -107,7 +107,7 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
// i.e. from parameter
|
// i.e. from parameter
|
||||||
// this could send the image to ImageSelect, or something?
|
// this could send the image to ImageSelect, or something?
|
||||||
function loadImage(src, callback) {
|
function loadImage(src, callback) {
|
||||||
if (!(options.instanceName) && window && this != window)
|
if (!(options.instanceName) && typeof(window) != undefined && this != window)
|
||||||
for(var variable in window)
|
for(var variable in window)
|
||||||
if(window[variable] == this)
|
if(window[variable] == this)
|
||||||
options.instanceName = variable;
|
options.instanceName = variable;
|
||||||
|
|||||||
Reference in New Issue
Block a user