Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit ab23bac

Browse files
committed
Move cljs on-eval to its own behavior
Had to create an editor.cljs.eval tag since only editor.clj.eval existed. Also updated cljs eval to reset COMPILED to its old value in order to not cause any stateful issues around users depending on COMPILED
1 parent f363d30 commit ab23bac

4 files changed

Lines changed: 508 additions & 493 deletions

File tree

clojure.behaviors

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,13 @@
5555
:lt.plugins.clojure/on-eval.custom]
5656

5757
:editor.clj.eval [:lt.plugins.clojure/on-eval.one
58-
:lt.plugins.clojure/on-eval
58+
:lt.plugins.clojure/on-eval.clj
5959
:lt.plugins.clojure/eval-location]
6060

61+
:editor.cljs.eval [:lt.plugins.clojure/on-eval.one
62+
:lt.plugins.clojure/on-eval.cljs
63+
:lt.plugins.clojure/eval-location]
64+
6165
:editor.clj [(:lt.object/add-tag :editor.clj.common)
6266
(:lt.object/add-tag :editor.clj.eval)
6367
:lt.plugins.clojure/eval-print
@@ -76,7 +80,7 @@
7680
:lt.plugins.clojure/print-clj-doc]
7781

7882
:editor.cljs [(:lt.object/add-tag :editor.clj.common)
79-
(:lt.object/add-tag :editor.clj.eval)
83+
(:lt.object/add-tag :editor.cljs.eval)
8084
:lt.plugins.clojure/eval-print
8185
:lt.plugins.clojure/eval-print-err
8286
:lt.plugins.clojure/exec.cljs!

0 commit comments

Comments
 (0)