Browse Source

Fix typos in FileReader polyfill #347

Ben Hsieh 7 years ago
parent
commit
1ebbb89a21
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      polyfill/FileReader.js

+ 5
- 5
polyfill/FileReader.js View File

@@ -47,15 +47,15 @@ export default class FileReader extends EventTarget {
47 47
   }
48 48
 
49 49
   abort() {
50
-    log.verbose('abort', b, label)
50
+    log.verbose('abort')
51 51
   }
52 52
 
53 53
   readAsArrayBuffer(b:Blob) {
54
-    log.verbose('readAsArrayBuffer', b, label)
54
+    log.verbose('readAsArrayBuffer', b)
55 55
   }
56 56
 
57 57
   readAsBinaryString(b:Blob) {
58
-    log.verbose('readAsBinaryString', b, label)
58
+    log.verbose('readAsBinaryString', b)
59 59
   }
60 60
 
61 61
   readAsText(b:Blob, label:?string) {
@@ -63,7 +63,7 @@ export default class FileReader extends EventTarget {
63 63
   }
64 64
 
65 65
   readAsDataURL(b:Blob) {
66
-    log.verbose('readAsDataURL', b, label)
66
+    log.verbose('readAsDataURL', b)
67 67
   }
68 68
 
69 69
   dispatchEvent(event, e) {
@@ -78,7 +78,7 @@ export default class FileReader extends EventTarget {
78 78
 
79 79
   // getters and setters
80 80
 
81
-  get readState() {
81
+  get readyState() {
82 82
     return this._readyState
83 83
   }
84 84