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

Assigning Multiple Key Value Pairs #27

Closed
grimmdude opened this issue Feb 1, 2018 · 1 comment
Closed

Assigning Multiple Key Value Pairs #27

grimmdude opened this issue Feb 1, 2018 · 1 comment

Comments

@grimmdude
Copy link

Unless I'm missing it, I would like to suggest the feature to assign multiple key/value pairs at once to minimize the excess <script> tags.

Something like this perhaps?

@javascript(['key' => 'value', 'key2' => 'value2'])
<script>window['key'] = 'value';window['key2'] = 'value2';</script>
@grimmdude
Copy link
Author

Aaand I see it now. Closing!

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

No branches or pull requests

1 participant