Don't embed config options directly in Javascript. Including them in the Javascript forces us to recompile the Javascript whenever these options change, which requires us to redeploy the entire site instead of just restarting the app server.
Don't embed config options directly in Javascript. Including them in the Javascript forces us to recompile the Javascript whenever these options change, which requires us to redeploy the entire site instead of just restarting the app server.