Skip to content

Commit

Permalink
An extra : in the :or
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifAndersen committed Jul 9, 2023
1 parent c674c8d commit f4f2638
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/interactive_syntax/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@
editor-reset-ref :editor-reset
visr-run-ref :visr-run
visual-syntax :visual-syntax
:or {:visual-syntax true}}]]
:or {visual-syntax true}}]]
(let [edit (atom nil)
visrs (atom {})
key (random-uuid)
Expand Down Expand Up @@ -1274,7 +1274,7 @@
(ocall doc :replaceRange stdlib/starter-visr pos)))
(fn [{:keys [menu input options file-changed current-file cursor scroll cache
cm-ref]
:or {:visual-syntax true}
:or {visual-syntax true}
:as db}
& [{editor-ref :editor
for-print :for-print
Expand Down Expand Up @@ -1363,7 +1363,7 @@
:as db}
& [{repl-ref :editor
visual-syntax :visual-syntax
:or {:visual-syntax true}}]]
:or {visual-syntax true}}]]
(let [edit (atom nil)
cache (env/make-reset-editors-cache)
instances (atom [])
Expand Down Expand Up @@ -1408,7 +1408,7 @@
:as db}
& [{repl-ref :editor
visual-syntax :visual-syntax
:or {:visual-syntax true}}]]
:or {visual-syntax true}}]]
[:> cm/UnControlled
{:value (string/join "\n" (filter string? @output))
:options (conj (env/codemirror-options db)
Expand Down Expand Up @@ -1479,7 +1479,7 @@
repl-ref :repl
visr-run-ref :visr-run
visual-syntax :visual-syntax
:or {:visual-syntax true}
:or {visual-syntax true}
:as opts}]]
(let [search (js/URLSearchParams. js/window.location.search)]
(chonky/setChonkyDefaults
Expand Down

0 comments on commit f4f2638

Please sign in to comment.