Skip to content

Commit

Permalink
minor formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Valums committed Sep 7, 2010
1 parent 4509ae1 commit 6a87ea4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions client/fileuploader.js
Expand Up @@ -331,7 +331,8 @@ qq.FileUploaderBasic.prototype = {
_onSubmit: function(id, fileName){
this._filesInProgress++;
},
_onProgress: function(id, fileName, loaded, total){},
_onProgress: function(id, fileName, loaded, total){
},
_onComplete: function(id, fileName, result){
this._filesInProgress--;
},
Expand Down Expand Up @@ -1099,7 +1100,6 @@ qq.UploadHandlerXhr.prototype = {
xhr.setRequestHeader("X-File-Name", encodeURIComponent(name));
xhr.setRequestHeader("Content-Type", "application/octet-stream");
xhr.send(file);

},
cancel: function(id){
this._files[id] = null;
Expand All @@ -1120,18 +1120,18 @@ qq.UploadHandlerXhr.prototype = {
getSize: function(id){
return this._total[id];
},
getSizeAll: function(){
var total = 0;
for (var i=0; i<this._total.length; i++){
total += this._total[i];
}
return total;
},
getLoadedAll: function(){
var loaded = 0;
for (var i=0; i<this._loaded.length; i++){
loaded += this._loaded[i];
}
return loaded;
}
},
getSizeAll: function(){
var total = 0;
for (var i=0; i<this._total.length; i++){
total += this._total[i];
}
return total;
}
};
6 changes: 3 additions & 3 deletions readme.md
Expand Up @@ -140,7 +140,7 @@ probably see a reason there.

Thanks to everybody who contributed, either by sending bug reports or donating. And special thanks to:

Patrick Pfeiffer
Sean Sandy (SeanJA)
Andy Newby
Patrick Pfeiffer
Sean Sandy (SeanJA)
Andy Newby
Ivan Valles

0 comments on commit 6a87ea4

Please sign in to comment.