Issue #185: Fix mis-spelling in file.js

This commit is contained in:
macdonst
2011-07-29 11:54:48 +08:00
parent 39d6952494
commit e28458869f
+2 -2
View File
@@ -172,7 +172,7 @@ FileReader.prototype.abort = function() {
}
// If abort callback
if (typeof this.onabort === "function") {
this.oneabort({"type":"abort", "target":this});
this.onabort({"type":"abort", "target":this});
}
// If load end callback
if (typeof this.onloadend === "function") {
@@ -431,7 +431,7 @@ FileWriter.prototype.abort = function() {
}
// If abort callback
if (typeof this.onabort === "function") {
this.oneabort({"type":"abort", "target":this});
this.onabort({"type":"abort", "target":this});
}
this.readyState = FileWriter.DONE;