Skip to content

Commit 23d18e2

Browse files
committed
Fix warnings in calva
1 parent d7ea034 commit 23d18e2

File tree

4 files changed

+6
-40
lines changed

4 files changed

+6
-40
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.clerk/
2+
/.calva/
23
/.cache/
34
/.clj-kondo/
45
/.cpcache/

exercises/ex_1_exploration.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;; # Exercise 1: Exploring Data with Clerk
22

3-
(ns explore
3+
(ns ex_1_exploration
44
{:nextjournal.clerk/auto-expand-results? true
55
:nextjournal.clerk/budget nil}
66
(:require [applied-science.edn-datasets :as data]
@@ -12,6 +12,7 @@
1212

1313
;; Explore the metadata on those vars to get a description of what's inside them.
1414

15+
1516
;; ## Table
1617
;; Pick one dataset above that interests you and use `clerk/table` to show the dataset as a table.
1718

exercises/ex_5_caching.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;; # Caching
2-
(ns exercises.ex-4-caching
2+
(ns ex-5-caching
33
(:require [nextjournal.clerk :as clerk]))
44

55
;; Note how the following notebook will show the same value

exercises/ex_7_viewer_require.clj

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
;; # Viewer Require
2-
(ns exercises.ex-6-viewer-require
3-
(:require [nextjournal.clerk :as clerk]
4-
[nextjournal.clerk.viewer :as v]))
2+
(ns ex-7-viewer-require
3+
(:require [nextjournal.clerk :as clerk]))
54

65
;; In this exercise, we'll use the Clerk's viewer api to dynamically
76
;; load a JavaScript library.
@@ -22,38 +21,3 @@
2221

2322
(clerk/with-viewer emoji-viewer
2423
"Hallo :smile:")
25-
26-
27-
28-
29-
30-
31-
32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
^{::clerk/visibility {:code :hide :result :hide}}
57-
(comment
58-
(fn [EmojiConverter]
59-
(.replace_colons (new EmojiConverter) value)))

0 commit comments

Comments
 (0)