Skip to content

Commit

Permalink
Bump mafs dependency (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie authored Jun 2, 2024
1 parent 5518652 commit 7999fb9
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 93 deletions.
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
org.mentat/leva.cljs {:mvn/version "0.3.0"}
org.mentat/mathbox.cljs {:mvn/version "0.2.2"}
org.mentat/mathlive.cljs {:mvn/version "0.2.1"}
org.mentat/mafs.cljs {:mvn/version "0.3.0"}
org.mentat/mafs.cljs {:mvn/version "0.3.1"}
org.mentat/clerk-utils {:mvn/version "0.6.0"}}

:aliases
Expand Down
4 changes: 2 additions & 2 deletions dev/emmy_viewers/mafs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@

;; ```clj
;; (mentat.clerk-utils.css/set-css!
;; "https://unpkg.com/mafs@0.17.0/core.css"
;; "https://unpkg.com/mafs@0.18.8/core.css"
;; "https://unpkg.com/[email protected]/cmu-serif.css"
;; "https://unpkg.com/mafs@0.17.0/font.css")
;; "https://unpkg.com/mafs@0.18.8/font.css")
;; ```
;;
;; Otherwise find some way to load these CSS files in your project's header.
Expand Down
104 changes: 18 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"jsxgraph": "1.5.0",
"katex": "0.16.8",
"leva": "0.9.35",
"mafs": "0.17.1",
"mafs": "0.18.8",
"markdown-it": "12.3.2",
"markdown-it-block-image": "0.0.3",
"markdown-it-footnote": "3.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/emmy/portal/mafs.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
To use this viewer, first install the `mafs` npm package:
```bash
npm install mafs@0.17.0
npm install mafs@0.18.8
```
Then install the viewer:
Expand Down
4 changes: 2 additions & 2 deletions src/emmy/viewer/css.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
These will be moved into subprojects at some point, so don't rely directly on
this var!"
{:mafs ["https://unpkg.com/[email protected]/cmu-serif.css"
"https://unpkg.com/mafs@0.17.0/core.css"
"https://unpkg.com/mafs@0.17.0/font.css"]
"https://unpkg.com/mafs@0.18.8/core.css"
"https://unpkg.com/mafs@0.18.8/font.css"]
:jsxgraph ["https://cdn.jsdelivr.net/npm/[email protected]/distrib/jsxgraph.css"]
:mathbox ["https://unpkg.com/[email protected]/build/mathbox.css"]
:mathlive ["https://unpkg.com/[email protected]/dist/mathlive-static.css"
Expand Down

0 comments on commit 7999fb9

Please sign in to comment.