Skip to content

Commit

Permalink
Fix transformation when serial is false
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdi committed Mar 8, 2014
1 parent b90d774 commit 4709eb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions dist/FileAPI.js
Expand Up @@ -526,7 +526,7 @@

doneList =
failList = null;

progressList = [];

for( ; i < n; i++ ){
Expand Down Expand Up @@ -1611,7 +1611,7 @@
, type: api.getMimeType(name)
};
}


function _isRegularFile(file, callback){
// http://stackoverflow.com/questions/8856628/detecting-folders-directories-in-javascript-filelist-objects
Expand Down Expand Up @@ -1784,7 +1784,7 @@

if( isOrignTrans ){
// Convert to array for transform function
trans = [trans];
trans = [].concat(trans);
}

api.Image.transform(file, trans, options.imageAutoOrientation, function (err, images){
Expand Down Expand Up @@ -3351,7 +3351,7 @@

}
} else {
// FormData
// FormData
xhr.send(data);
}
}
Expand Down
6 changes: 3 additions & 3 deletions lib/FileAPI.core.js
Expand Up @@ -432,7 +432,7 @@

doneList =
failList = null;

progressList = [];

for( ; i < n; i++ ){
Expand Down Expand Up @@ -1517,7 +1517,7 @@
, type: api.getMimeType(name)
};
}


function _isRegularFile(file, callback){
// http://stackoverflow.com/questions/8856628/detecting-folders-directories-in-javascript-filelist-objects
Expand Down Expand Up @@ -1690,7 +1690,7 @@

if( isOrignTrans ){
// Convert to array for transform function
trans = [trans];
trans = [].concat(trans);
}

api.Image.transform(file, trans, options.imageAutoOrientation, function (err, images){
Expand Down

0 comments on commit 4709eb5

Please sign in to comment.