mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 19:34:12 +00:00
Fix Prelude (#15714)
* ReSync with Devel * Fix prelude for JS target * ReSync devel * Fix prelude for JS target
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user