Elegant way to code generated coffeescript in ruby? -


i have following converts coffeescript when ...../coffee/xxxx.js called. example trying load variables compliments script loaded. should load in separate js file or elegant way of injecting coffee script well?

get "/coffee/*.js"     filename = params[:splat].first     coffee "../public/coffee/#{filename}".to_sym end 


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -