Reviewers: shindig-dev,
Description:
Fixing regular expression for variable substitutions to allow dollar
characters before the ${}. Adding unit tests to check various variable
substitution scenarios.
Capitalized regex constant names.
Please review this at http://codereview.appspot.com/10663
Affected files:
features/opensocial-templates
features/opensocial-templates/base.js
features/opensocial-templates/compiler.js
features/opensocial-templates/compiler_test.js
features/opensocial-templates/data.js
features/opensocial-templates/data_test.js
features/opensocial-templates/template_test.js
java/server/src/test/resources/endtoend/opensocial-templates/compiler_test.js