JSLint clean JavaScript sources. No fatal errors remain. Options can turn off rest of warnings

This commit is contained in:
paulb777
2011-02-02 08:46:19 -08:00
committed by Fil Maj
parent 5e858f8bc3
commit 6f4673f590
18 changed files with 503 additions and 471 deletions
+4 -4
View File
@@ -9,7 +9,7 @@
/**
* FileTransfer uploads a file to a remote server.
*/
function FileTransfer() {};
function FileTransfer() {}
/**
* FileUploadResult
@@ -18,14 +18,14 @@ function FileUploadResult() {
this.bytesSent = 0;
this.responseCode = null;
this.response = null;
};
}
/**
* FileTransferError
*/
function FileTransferError() {
this.code = null;
};
}
FileTransferError.FILE_NOT_FOUND_ERR = 1;
FileTransferError.INVALID_URL_ERR = 2;
@@ -74,4 +74,4 @@ function FileUploadOptions(fileKey, fileName, mimeType, params) {
this.fileName = fileName || null;
this.mimeType = mimeType || null;
this.params = params || null;
};
}