Julius is a simple passthrough language for producing Javascript. It is primarily used in Yesod.
Questions tagged [yesod-julius]
7 questions
5
votes
1 answer
Yesod: Maintaining order of JavaScript and Julius Files
Let's say I want to combine a bunch of Javascript and Julius file. I do it like this:
jsWidget :: Widget
jsWidget = do
addScript $ StaticR js_test1_js
toWidget $(juliusFile "static/js/gis/sample.julius")
addScript $…

Sibi
- 47,472
- 16
- 95
- 163
4
votes
0 answers
Yesod: using widget twice in widget duplicates Julius
I have a Yesod widget which loads a widget twice. The "main" widget looks like: