Skip to content

Commit 48c5d64

Browse files
committed
2.0.1: + support 'filter' prop in imageTransform
1 parent a235624 commit 48c5d64

File tree

7 files changed

+16
-14
lines changed

7 files changed

+16
-14
lines changed

dist/FileAPI.html5.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! fileapi 2.0.0 - BSD | git://github.com/mailru/FileAPI.git
1+
/*! fileapi 2.0.1 - BSD | git://github.com/mailru/FileAPI.git
22
* FileAPI — a set of javascript tools for working with files. Multiupload, drag'n'drop and chunked file upload. Images: crop, resize and auto orientation by EXIF.
33
*/
44

@@ -187,7 +187,7 @@
187187
* FileAPI (core object)
188188
*/
189189
api = {
190-
version: '2.0.0',
190+
version: '2.0.1',
191191

192192
cors: false,
193193
html5: true,
@@ -1527,7 +1527,7 @@
15271527
var key;
15281528
for( key in trans ){
15291529
if( trans.hasOwnProperty(key) ){
1530-
if( !(trans[key] instanceof Object || key === 'overlay') ){
1530+
if( !(trans[key] instanceof Object || key === 'overlay' || key === 'filter') ){
15311531
return true;
15321532
}
15331533
}
@@ -2029,6 +2029,7 @@
20292029
, type: params.type || file.type || 'image/png'
20302030
, quality: params.quality || 1
20312031
, overlay: params.overlay
2032+
, filter: params.filter
20322033
});
20332034

20342035
queue.inc();

dist/FileAPI.html5.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/FileAPI.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! fileapi 2.0.0 - BSD | git://github.com/mailru/FileAPI.git
1+
/*! fileapi 2.0.1 - BSD | git://github.com/mailru/FileAPI.git
22
* FileAPI — a set of javascript tools for working with files. Multiupload, drag'n'drop and chunked file upload. Images: crop, resize and auto orientation by EXIF.
33
*/
44

@@ -187,7 +187,7 @@
187187
* FileAPI (core object)
188188
*/
189189
api = {
190-
version: '2.0.0',
190+
version: '2.0.1',
191191

192192
cors: false,
193193
html5: true,
@@ -1527,7 +1527,7 @@
15271527
var key;
15281528
for( key in trans ){
15291529
if( trans.hasOwnProperty(key) ){
1530-
if( !(trans[key] instanceof Object || key === 'overlay') ){
1530+
if( !(trans[key] instanceof Object || key === 'overlay' || key === 'filter') ){
15311531
return true;
15321532
}
15331533
}
@@ -2029,6 +2029,7 @@
20292029
, type: params.type || file.type || 'image/png'
20302030
, quality: params.quality || 1
20312031
, overlay: params.overlay
2032+
, filter: params.filter
20322033
});
20332034

20342035
queue.inc();

dist/FileAPI.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.fileapi.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/FileAPI.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
* FileAPI (core object)
184184
*/
185185
api = {
186-
version: '2.0.0',
186+
version: '2.0.1',
187187

188188
cors: false,
189189
html5: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fileapi",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"devDependencies": {
55
"grunt": "~0.4.0",
66
"grunt-version": "*",

0 commit comments

Comments
 (0)