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,7 +11,7 @@ runnableExamples:
doAssert jsregex.test(r"0123456789abcd")
when not defined(js) and not defined(Nimdoc):
when not defined(js):
{.error: "This module only works on the JavaScript platform".}
type RegExp* {.importjs.} = object ## Regular Expressions for JavaScript target.