diff options
Diffstat (limited to 'lib/js/dom.nim')
-rw-r--r-- | lib/js/dom.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim index 5a24ca38a..4a33668cd 100644 --- a/lib/js/dom.nim +++ b/lib/js/dom.nim @@ -9,7 +9,7 @@ ## Declaration of the Document Object Model for the `JavaScript backend ## <backends.html#backends-the-javascript-target>`_. -include "system/inclrtl" +import std/private/since when not defined(js) and not defined(Nimdoc): {.error: "This module only works on the JavaScript platform".} |