Skip to content

Commit dc6ae8c

Browse files
committed
CLJS-3261: Docstring for cljs.js/eval-str specifies incorrect default for :context
1 parent e294c1c commit dc6ae8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/cljs/cljs/js.cljs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@
759759
false.
760760
:context - optional, sets the context for the source. Possible values
761761
are `:expr`, `:statement` and `:return`. Defaults to
762-
`:expr`.
762+
`:statement`.
763763
764764
cb (function)
765765
callback, will be invoked with a map. If successful the map will contain
@@ -875,7 +875,7 @@
875875
false.
876876
:context - optional, sets the context for the source. Possible values
877877
are `:expr`, `:statement` and `:return`. Defaults to
878-
`:expr`.
878+
`:statement`.
879879
880880
cb (function)
881881
callback, will be invoked with a map. If successful the map will contain
@@ -1002,7 +1002,7 @@
10021002
false.
10031003
:context - optional, sets the context for the source. Possible values
10041004
are `:expr`, `:statement` and `:return`. Defaults to
1005-
`:expr`.
1005+
`:statement`.
10061006
10071007
cb (function)
10081008
callback, will be invoked with a map. If successful the map will contain
@@ -1174,7 +1174,7 @@
11741174
false.
11751175
:context - optional, sets the context for the source. Possible values
11761176
are `:expr`, `:statement` and `:return`. Defaults to
1177-
`:expr`.
1177+
`:statement`.
11781178
11791179
cb (function)
11801180
callback, will be invoked with a map. If succesful the map will contain

0 commit comments

Comments
 (0)