diff options
author | Tomohito Nakayama <nkym.tmht@gmail.com> | 2019-09-24 00:07:13 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-23 11:07:13 -0400 |
commit | 4ff04ad96f27b7073e3478630ed249eedc76af2b (patch) | |
tree | 0f71ce209fe1c05b37e87e57d954df5d69d349f7 /js/form_data.ts | |
parent | 97bb2bdb79cbd0a400c643e7be0029440cb15633 (diff) |
Rename class name DenoFile to DomFileImpl (#3006)
Diffstat (limited to 'js/form_data.ts')
-rw-r--r-- | js/form_data.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/form_data.ts b/js/form_data.ts index f5ae290eb..89efb3c00 100644 --- a/js/form_data.ts +++ b/js/form_data.ts @@ -22,7 +22,7 @@ class FormDataBase { requiredArguments("FormData.append", arguments.length, 2); name = String(name); if (value instanceof blob.DenoBlob) { - const dfile = new domFile.DenoFile([value], filename || name); + const dfile = new domFile.DomFileImpl([value], filename || name); this[dataSymbol].push([name, dfile]); } else { this[dataSymbol].push([name, String(value)]); @@ -112,7 +112,7 @@ class FormDataBase { if (this[dataSymbol][i][0] === name) { if (!found) { if (value instanceof blob.DenoBlob) { - const dfile = new domFile.DenoFile([value], filename || name); + const dfile = new domFile.DomFileImpl([value], filename || name); this[dataSymbol][i][1] = dfile; } else { this[dataSymbol][i][1] = String(value); @@ -129,7 +129,7 @@ class FormDataBase { // Otherwise, append entry to the context object’s entry list. if (!found) { if (value instanceof blob.DenoBlob) { - const dfile = new domFile.DenoFile([value], filename || name); + const dfile = new domFile.DomFileImpl([value], filename || name); this[dataSymbol].push([name, dfile]); } else { this[dataSymbol].push([name, String(value)]); |