Closed bobwallis closed 10 years ago
@bobwallis, look at this commit.
Ah, I see. That explains the require_js_src Twig function.
I'm trying to use what used to be require_js.config
to work with the configuration though. Can this be added back in, or is there a different way to use that now?
To close #49
I've defined the variable with
getGlobals
as it was in 1.0.I'm a little confused as to why
require_js_src
is defined as a Twig function rather than a global though, given it doesn't accept arguments. Would you prefer arequire_js_config
function to be created to hold the configuration instead to be consistent?