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