mailru/FileAPI — pull request #216 by jrdi (2014-03-08 14:41:00+00:00)
Title: Fix transform with serial: false

I am trying to use `serial: false` from dev branch and it only transform properly the first image. Here is the code I am using.

```javascript
FileAPI.upload('./upload', files, {
serial: false,
imageTransform: {
type: 'image/jpeg',
quality: 0.86, // jpeg quality
maxWidth: 100
},
progress: function (evt){ /* ... */ },
complete: function (err, xhr){ /* ... */ }
});
```

After take a look to the code I found this block:
```javascript
if( isOrignTrans ){
// Convert to array for transform function
trans = [trans];
}
```

It is inside of an each so we modify `trans` every iteration and finally we get something similar to `[[[trans]]]`, it causes transformation errors. I hope I fix it properly.

PD: I run `grunt` but appears some problems with `flex-sdk` and I don't know why minimised files doesn't update properly.