Google Drive support
This commit is contained in:
parent
755f92618b
commit
f75925f3ae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user