Skip to content

Commit

Permalink
clarify reader-conditional docs (#373)
Browse files Browse the repository at this point in the history
Updated the prose to better match the example.  `:org.babashka/nbb` is not prioritized over `:cljs`, rather, whichever comes first is used.
  • Loading branch information
gdw2 authored Nov 22, 2024
1 parent 0470ef7 commit 3b0e578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ See the [example](examples/js-interop/example.cljs) of what is currently support

## Reader conditionals

Nbb supports the following reader conditional features: `:org.babashka/nbb` and
`:cljs` in that order of priority:
Nbb supports the following reader conditional platform tags: `:org.babashka/nbb` and
`:cljs`. Whichever is first takes priority:

``` clojure
#?(:org.babashka/nbb 1 :cljs 2) ;;=> 1
Expand Down

0 comments on commit 3b0e578

Please sign in to comment.