@@ -308,7 +308,7 @@ var sync = function () {
}
xhr.timeout = 10 * 1000;
xhr.onload = function () {
- if (!this.status || this.status > 300 || !this.responseText)
+ if (!this.status || this.status > 300)
reject(this);
else
resolve(this.responseText);
@@ -168,7 +168,7 @@ setTimeout(function () {
return this.request({
method: 'DELETE',
url: '/drive/special/approot:/' + encodeURIComponent(path),
- });
+ }).catch(_.noop);
},
authenticate: authenticate,
checkAuthenticate: checkAuthenticate,
@@ -3,7 +3,7 @@
"version": "__VERSION__",
"manifest_version": 2,
"description": "__MSG_extDescription__",
- "developer": {
+ "author": {
"name": "Gerald",
"url": "http://gerald.top"