Skip to content

Commit 8429372

Browse files
anmonteiroswannodette
authored andcommitted
CLJS-2239: Self-host: Add :target :nodejs to the docstrings in cljs.js
1 parent 309e209 commit 8429372

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/cljs/cljs/js.cljs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@
677677
:fn-invoke-direct - if `true`, does not generate `.call(null...)` calls for
678678
unknown functions, but instead direct invokes via
679679
`f(a0,a1...)`. Defaults to `false`.
680+
:target - use `:nodejs` if targeting Node.js. Takes no other options
681+
at the moment.
680682
:ns - optional, the namespace in which to evaluate the source.
681683
:verbose - optional, emit details from compiler activity. Defaults to
682684
false.
@@ -786,6 +788,8 @@
786788
:fn-invoke-direct - if `true`, does not generate `.call(null...)` calls for
787789
unknown functions, but instead direct invokes via
788790
`f(a0,a1...)`. Defaults to `false`.
791+
:target - use `:nodejs` if targeting Node.js. Takes no other options
792+
at the moment.
789793
:ns - optional, the namespace in which to evaluate the source.
790794
:verbose - optional, emit details from compiler activity. Defaults to
791795
false.
@@ -909,6 +913,8 @@
909913
:fn-invoke-direct - if `true`, does not generate `.call(null...)` calls for
910914
unknown functions, but instead direct invokes via
911915
`f(a0,a1...)`. Defaults to `false`.
916+
:target - use `:nodejs` if targeting Node.js. Takes no other options
917+
at the moment.
912918
:ns - optional, the namespace in which to evaluate the source.
913919
:verbose - optional, emit details from compiler activity. Defaults to
914920
false.
@@ -1073,6 +1079,8 @@
10731079
:fn-invoke-direct - if `true`, does not generate `.call(null...)` calls for
10741080
unknown functions, but instead direct invokes via
10751081
`f(a0,a1...)`. Defaults to `false`.
1082+
:target - use `:nodejs` if targeting Node.js. Takes no other options
1083+
at the moment.
10761084
:ns - optional, the namespace in which to evaluate the source.
10771085
:verbose - optional, emit details from compiler activity. Defaults to
10781086
false.

0 commit comments

Comments
 (0)