clean up the docs of some modules under lib/js (#16579)

This commit is contained in:
flywind 2021-01-04 12:54:33 -06:00 • committed by GitHub
commit fe20492f05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 56 deletions

View file

@ -11,10 +11,10 @@
##
## Unless your application has very
## specific requirements and solely targets JavaScript, you should be using
## the relevant functions in the ``math``, ``json``, and ``times`` stdlib
## the relevant functions in the `math`, `json`, and `times` stdlib
## modules instead.
when not defined(js) and not defined(Nimdoc):
when not defined(js):
{.error: "This module only works on the JavaScript platform".}
type