Fix Prelude (#15714)
* ReSync with Devel * Fix prelude for JS target * ReSync devel * Fix prelude for JS target
This commit is contained in:
parent
86d7726fb8
commit
e284445e51
2 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
## Standard library additions and changes
|
||||
|
||||
- `prelude` now works with the JavaScript target.
|
||||
|
||||
|
||||
## Language changes
|
||||
|
|
|
|||
|
|
@ -18,4 +18,5 @@
|
|||
# .. code-block:: nim
|
||||
# import os, strutils, times, parseutils, parseopt, hashes, tables, sets
|
||||
|
||||
import os, strutils, times, parseutils, parseopt, hashes, tables, sets
|
||||
import os, strutils, times, parseutils, hashes, tables, sets
|
||||
when not defined(js): import parseopt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue