-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Breaking] condense some booleans into enum
type
arg
- Loading branch information
Showing
2 changed files
with
36 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
Usage: es-shim-api [options] <optional space-separated module names> | ||
|
||
Options: | ||
--multi indicate that the package contains multiple shims | ||
[boolean] | ||
|
||
--bound indicate that the function the package is implementing depends on having a receiver (a “this” value) | ||
[boolean] | ||
--type indicate which type of polyfill/shim this is: | ||
- `method`: receiver-sensitive method (default) | ||
- `function`: non-receiver-sensitive function | ||
- `property`: non-function data property | ||
- `constructor`: constructor | ||
- `multi`: a package that contains multiple shims | ||
|
||
--property indicate that the polyfill is a normal property, instead of a function | ||
[boolean] | ||
|
||
--skip-shim-returns-polyfill indicate that the `shim` module does not return the same value as `polyfill`, by design | ||
[boolean] | ||
--skip-shim-returns-polyfill indicate that `shim` does not return the same | ||
[boolean] value as `polyfill`, by design | ||
|
||
--skip-auto-shim skip testing that `auto` invokes `shim` | ||
[boolean] | ||
|
||
--ignore-dirs <path> File path to write output to. If omitted, output will be printed to stdout. | ||
[string] | ||
--ignore-dirs <path> File path to write output to. | ||
[string] If omitted, output will be printed to stdout. |