Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video | FE | Add 'env' to global JS, wrap 'env' and 'lang' in JSON.stringify #1241

Merged
merged 3 commits into from Jul 15, 2019

Conversation

danielamorse
Copy link
Collaborator

Jira

Summary

This is an isolated change from PR #1099. It adds env to global data. Will be used in video tests.

Details

n/a

How to test

  • Review file changed
  • Checkout the branch locally and test that you can get the env variable in Twig, like so:
    {{ bolt.data.config.env }}

@sghoweri sghoweri merged commit 7834032 into master Jul 15, 2019
@sghoweri sghoweri deleted the feature/add-env-to-global-js branch July 15, 2019 13:52
@sghoweri sghoweri mentioned this pull request Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants