These are chat archives for opal/opal

Sep 2014
Artur Ostręga
Sep 09 2014 21:24
With Opal::Server, is there any way to use a JS constant in the server's main *.erb code, or otherwise pass a variable from the server to main?
In other words, how to use a JS/server variable for the glob here
Elia Schito
Sep 09 2014 22:16
@skofo opal server is a standard sprockets env inside
so you should just be able to append another extension/processor as erb
or use an index.erb and put stuff in meta tags, I usually use them to fill ENV (opal-side)