Merge pull request #104 from ccpandhare/master

Changed const to var
This commit is contained in:
Chinmay Pandhare
2017-09-01 20:22:17 +05:30
committed by GitHub
2 changed files with 19574 additions and 19574 deletions

39140
dist/image-sequencer.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -50,7 +50,7 @@ ImageSequencer = function ImageSequencer(options) {
// else if (options.imageUrl) loadImage(imageUrl);
function addSteps(){
const this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var args = (this.name == "ImageSequencer")?[]:[this.images];
var json_q = {};
for(var arg in arguments){args.push(copy(arguments[arg]));}
@@ -77,7 +77,7 @@ ImageSequencer = function ImageSequencer(options) {
function removeSteps(image,index) {
var run = {}, indices;
const this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var args = (this.name == "ImageSequencer")?[]:[this.images];
for(var arg in arguments) args.push(copy(arguments[arg]));
@@ -96,7 +96,7 @@ ImageSequencer = function ImageSequencer(options) {
function insertSteps(image, index, name, o) {
var run = {};
const this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var args = (this.name == "ImageSequencer")?[]:[this.images];
for (var arg in arguments) args.push(arguments[arg]);
@@ -115,7 +115,7 @@ ImageSequencer = function ImageSequencer(options) {
}
function run(t_image,t_from) {
const this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var this_ = (this.name == "ImageSequencer")?this:this.sequencer;
var args = (this.name == "ImageSequencer")?[]:[this.images];
for (var arg in arguments) args.push(copy(arguments[arg]));