Skip to content

Commit

Permalink
more emmy viewers
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuebert committed Aug 3, 2023
1 parent 20ae7a6 commit b0946e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions editor2/src/main/maria/editor/extensions/emmy.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[emmy.operator]
[emmy.abstract.function]
[emmy.series]
[emmy.structure]
[emmy.modint]
[emmy.portal.css :refer [inject!] :rename {inject! inject-css!}]
[emmy.viewer.css :refer [css-map]]
Expand All @@ -21,9 +22,6 @@
(defn show-expression-of [opts x]
(show opts (emmy.expression/expression-of x)))

(defn show-string [opts x]
(str x))

(defn show-number-string [opts x]
(v/x [:span.text-number (str x)]))

Expand All @@ -34,6 +32,7 @@
emmy.series/Series (fn [opts x] (show opts (seq x)))
emmy.abstract.function/Function show-frozen
emmy.modint/ModInt show-frozen
emmy.structure/Structure show-frozen
emmy.quaternion/Quaternion show-frozen
js/BigInt show-number-string})

Expand Down

0 comments on commit b0946e6

Please # to comment.