mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 03:40:03 +01:00
Merging publiclab:master in
This commit is contained in:
3
dist/image-sequencer.js
vendored
3
dist/image-sequencer.js
vendored
@@ -184151,7 +184151,10 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
options = options || {};
|
options = options || {};
|
||||||
options.inBrowser = options.inBrowser || typeof window !== 'undefined';
|
options.inBrowser = options.inBrowser || typeof window !== 'undefined';
|
||||||
if (options.inBrowser) options.ui = options.ui || require('./UserInterface');
|
if (options.inBrowser) options.ui = options.ui || require('./UserInterface');
|
||||||
|
<<<<<<< HEAD
|
||||||
options.sequencer_counter = 0;
|
options.sequencer_counter = 0;
|
||||||
|
=======
|
||||||
|
>>>>>>> master
|
||||||
|
|
||||||
var image,
|
var image,
|
||||||
steps = [],
|
steps = [],
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
options = options || {};
|
options = options || {};
|
||||||
options.inBrowser = options.inBrowser || typeof window !== 'undefined';
|
options.inBrowser = options.inBrowser || typeof window !== 'undefined';
|
||||||
if (options.inBrowser) options.ui = options.ui || require('./UserInterface');
|
if (options.inBrowser) options.ui = options.ui || require('./UserInterface');
|
||||||
options.sequencer_counter = 0;
|
options.sequencerCounter = 0;
|
||||||
|
|
||||||
var image,
|
var image,
|
||||||
steps = [],
|
steps = [],
|
||||||
@@ -25,7 +25,7 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
options.instanceName = variable;
|
options.instanceName = variable;
|
||||||
|
|
||||||
o = o || {};
|
o = o || {};
|
||||||
o.id = options.sequencer_counter++; //Gives a Unique ID to each step
|
o.id = options.sequencerCounter++; //Gives a Unique ID to each step
|
||||||
o.name = o.name || name;
|
o.name = o.name || name;
|
||||||
o.selector = o.selector || 'ismod-' + name;
|
o.selector = o.selector || 'ismod-' + name;
|
||||||
o.container = o.container || options.selector;
|
o.container = o.container || options.selector;
|
||||||
@@ -106,7 +106,6 @@ ImageSequencer = function ImageSequencer(options) {
|
|||||||
// load default starting image
|
// load default starting image
|
||||||
// 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?
|
||||||
// not currently working
|
|
||||||
function loadImage(src, callback) {
|
function loadImage(src, callback) {
|
||||||
if (!(options.instanceName) && this != window)
|
if (!(options.instanceName) && this != window)
|
||||||
for(var variable in window)
|
for(var variable in window)
|
||||||
|
|||||||
Reference in New Issue
Block a user