From 3b0e57854a513d8793f66f3d5e2b506312ede845 Mon Sep 17 00:00:00 2001 From: Greg Warner Date: Fri, 22 Nov 2024 11:29:42 -0700 Subject: [PATCH] clarify reader-conditional docs (#373) Updated the prose to better match the example. `:org.babashka/nbb` is not prioritized over `:cljs`, rather, whichever comes first is used. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5226cfd..f99fa79 100644 --- a/README.md +++ b/README.md @@ -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