Skip to content

Commit 1848959

Browse files
committed
* disabled debug
1 parent 8ea4883 commit 1848959

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ FileAPI.event.on(input, 'change', function (evt){
8181
// upload on server
8282
var xhr = FileAPI.upload({
8383
url: '...',
84-
data: { foo: 'bar' },
85-
headers: { 'x-header': '...' },
84+
data: { foo: 'bar' }, // POST-data (iframe, flash, html5)
85+
headers: { 'x-header': '...' }, , // request headers (flash, html5)
8686
files: {
8787
files: FileAPI.filter(fileList, function (file){ return !/image/.test(file.type); }),
8888
pictures: imageList
@@ -92,11 +92,11 @@ FileAPI.event.on(input, 'change', function (evt){
9292
maxHeight: 768
9393
},
9494
imageAutoOrientation: true,
95-
fileprogress: function (evt){
95+
fileprogress: function (evt){ // (flash, html5)
9696
var percent = evt.loaded/evt.total*100;
9797
// ...
9898
},
99-
progress: function (evt){
99+
progress: function (evt){ // (flash, html5)
100100
var percent = evt.loaded/evt.total*100;
101101
// ...
102102
},

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<script src="//yandex.st/jquery/1.8.2/jquery.min.js"></script>
1616
<script>if( !window.jQuery )document.write('<script src="/js/jquery.dev.js"><'+'/script>');</script>
1717

18-
<script>var FileAPI = { debug: true, pingUrl: false }</script>
18+
<script>var FileAPI = { debug: false, pingUrl: false }</script>
1919
<script src="./FileAPI.min.js"></script>
2020
<script src="./FileAPI.id3.js"></script>
2121
<script src="./FileAPI.exif.js"></script>

0 commit comments

Comments
 (0)