mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
CB-10636 Add JSHint for plugins
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*global Blob:false */
|
||||
/* global Blob:false */
|
||||
|
||||
var cordova = require('cordova'),
|
||||
resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
|
||||
requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame'),
|
||||
@@ -221,7 +222,7 @@ module.exports = {
|
||||
|
||||
xhr[id].onabort = function (e) {
|
||||
onFail(new FileTransferError(FileTransferError.ABORT_ERR, source, target, xhr[id].status, xhr[id].response));
|
||||
}
|
||||
};
|
||||
|
||||
xhr[id].onload = function () {
|
||||
if (xhr[id].readyState === xhr[id].DONE) {
|
||||
|
||||
Reference in New Issue
Block a user