OpenNTF/JavascriptAggregator — pull request #184 by chuckdumont (2014-06-09 15:06:10+00:00)
Title: Improve variable substitution support

Variable substitution supports replacing strings of the form ${xxx} in the server side AMD config javascript and some servlet init params with values defined in Java system properties or by services that implement com.ibm.jaggr.core.IVariableResolver. This change set extends the support to include:
* Variable substitution is now supported in all servlet and extension init-params.
* The global scope getProperty() function can be called by JavaScript code in the server-side AMD config as an alternative to using variable substitution. For example:

var foo = '${foo}';

assigns the same value to the variable foo as

var foo = getProperty('foo');

if the property foo is defined. If the property foo is not defined, then the var foo will equal '${foo}' in the first case and null in the second case.