Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom flag that let user can force disable entry feature #260

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion dist/FileAPI.html5.js
Expand Up @@ -285,6 +285,7 @@
cors: false,
html5: true,
media: false,
entry: true,
formData: true,
multiPassResize: true,

Expand Down Expand Up @@ -1567,9 +1568,10 @@

function _getAsEntry(item){
var entry;
if( !api.entry ){ return false }
if( item.getAsEntry ){ entry = item.getAsEntry(); }
else if( item.webkitGetAsEntry ){ entry = item.webkitGetAsEntry(); }
return entry;
return entry;
}


Expand Down
2 changes: 1 addition & 1 deletion dist/FileAPI.html5.min.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/FileAPI.js
Expand Up @@ -285,6 +285,7 @@
cors: false,
html5: true,
media: false,
entry: true,
formData: true,
multiPassResize: true,

Expand Down Expand Up @@ -1567,9 +1568,10 @@

function _getAsEntry(item){
var entry;
if( !api.entry ){ return false }
if( item.getAsEntry ){ entry = item.getAsEntry(); }
else if( item.webkitGetAsEntry ){ entry = item.webkitGetAsEntry(); }
return entry;
return entry;
}


Expand Down
2 changes: 1 addition & 1 deletion dist/FileAPI.min.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion lib/FileAPI.core.js
Expand Up @@ -191,6 +191,7 @@
cors: false,
html5: true,
media: false,
entry: true,
formData: true,
multiPassResize: true,

Expand Down Expand Up @@ -1473,9 +1474,10 @@

function _getAsEntry(item){
var entry;
if( !api.entry ){ return false }
if( item.getAsEntry ){ entry = item.getAsEntry(); }
else if( item.webkitGetAsEntry ){ entry = item.webkitGetAsEntry(); }
return entry;
return entry;
}


Expand Down