Google Drive support

This commit is contained in:
benweet 2013-03-24 20:30:06 +00:00
parent 755f92618b
commit f75925f3ae

View File

@ -106,12 +106,9 @@ var gdrive = (function($) {
'params' : { 'uploadType' : 'multipart', },
'headers' : { 'Content-Type' : 'multipart/mixed; boundary="'
+ boundary + '"', }, 'body' : multipartRequestBody, });
if (!callback) {
callback = function(file) {
console.log(file);
};
}
request.execute(callback);
request.execute(function(file) {
console.log(file);
});
};
return gdrive;