-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pass file.size to AbstractFile * 0.11.1 * excise LocalFile implementation * fix file test
- Loading branch information
Showing
5 changed files
with
42 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import * as Inputs from "../../src/index.js"; | ||
|
||
const Inputs_file = Inputs.fileOf(class AbstractFile {}); | ||
|
||
export async function file() { | ||
return Inputs_file(); | ||
return Inputs.file(); | ||
} | ||
|
||
export async function fileLabel() { | ||
return Inputs_file({label: "dollars£s"}); | ||
return Inputs.file({label: "dollars£s"}); | ||
} | ||
|
||
export async function fileWide() { | ||
return Inputs_file({width: "20em"}); | ||
return Inputs.file({width: "20em"}); | ||
} |