Is it possible to access
grails.app.context
from javascript library? - This is not javascript inserted in the GSP file.
I have som javascripts that are context sensitive, so I need to have access to this from javascript.
I am including javascript in my gsp files with:
<r:require modules="myModule" />
source share