Skip to content

Commit f7db870

Browse files
committed
Update README.md
1 parent 0b3aea9 commit f7db870

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ For ring
3636
(-> app (jsify/jsify-middleware jsify-settings))
3737
```
3838

39-
In your html simply add
40-
```html
41-
<script src="/js/app.jsify"></script>
39+
To get the link to the output simply use:
40+
41+
```clojure
42+
(jsify/link-to-asset "app.jsify" jsify-settings)
4243
```
4344

4445
resources/private/js/app.jsify will look like this:

0 commit comments

Comments
 (0)