Is it possible to use global keywords from a .js file on client side with the JS File Folder asset?
Say I have a JS File Folder asset set up and within a .js file I use some Squiz global keywords, maybe something like:
var foo = '%globals_asset_file_contents:123123^preg_replace:987987%';
So using a Squiz REST Resource asset with the JS File Folder asset as an included file I can do:
print(foo);
Works at treat.
Now lets say I want to do this client side, maybe:
console.log(foo);
Nope I get an error...
Syntax error, unrecognized expression: %globals_asset_file_contents:123123^preg_replace:987987%