Fork me on GitHub
#hoplon
<
2016-12-20
>
puzzler02:12:16

I've been working through these steps to use hoplon/javelin in a regular lein project: https://yogthos.net/posts/2016-06-06-WorkingWithHoplon.html. This no longer works with the latest build of hoplon (alpha17) but it does work with the build used in the article (alpha15). Any idea what broke since alpha15?

puzzler02:12:16

Does jquery no longer get automatically included or something? (The example uses jquery to mount the hoplon app in the #app div)

flyboarder03:12:51

@puzzler correct, include hoplon.jquery

puzzler04:12:21

And just requiring it will make the calls to js/jQuery work?

puzzler04:12:36

I'm giving hoplon a try, and one of the problems I'm having is that some errors (e.g., an error in a formula cell) just seem to cause the page not to render at all. No meaningful error message is given so I can't track it down. Is this normal or is there a better workflow that avoids this?

meeli07:12:22

@puzzler check the console

thedavidmeister08:12:07

@puzzler yeah, what do you mean by “no meaningful error”?

thedavidmeister08:12:19

do you actually mean “no error” or “i don’t understand how to debug the error that i see”?

jjttjj17:12:40

I keep having issues with hoplon serving up old html.js files that i've since changed. the old files persist even when stopping and re-running boot dev. When i change something in the file and it's reloaded with boot-reload the correct version is shown but a page refresh shows the old stale page. if i rename the html page, the new page works for awhile but seemingly randomly an old version will start showing up at some point. any tips as to how to start to track down what's causing this? I'm on Windows, boot 2.6, boot-reload 0.4.13 and hoplon alpha17

dm317:12:42

the refresh showing stale page looks like it's the browser using cache

dm317:12:30

you can try turning all the caching features off/using another browser

jjttjj17:12:14

doh, good call, hard refresh works too (ctrl+f5)

jjttjj17:12:36

for some reason I was assuming ctrl-r was a hard refresh

flyboarder18:12:23

@jjttjj: if you are using chrome you can disable cache while devtools are open

flyboarder18:12:54

So that s refresh is a hard-refresh