On Fri, Jul 1, 2011 at 2:09 AM, Brion Vibber brion@pobox.com wrote:
If it's different on every page you're going to output it on, then you may need to use a different technique.
If you just need to export a variable to JavaScript, use the MakeGlobalVariables hook (for variables that can change from page to page) or the ResourceLoaderGetConfigVars hook (for config variables that don't change from page to page).
Roan Kattouw (Catrope)