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

Allow scala blocks in filters #93

Open
h3adache opened this issue Nov 2, 2016 · 0 comments
Open

Allow scala blocks in filters #93

h3adache opened this issue Nov 2, 2016 · 0 comments

Comments

@h3adache
Copy link

h3adache commented Nov 2, 2016

Allowing something like - for(i <- 42 to 46) in filters is extremely helpful when having to create arbitrary blocks of javascript or css based on collections. Currently this is not supported and requires you do hacks such as:

- for(i <- 42 to 46)
    :!javascript
        callSomethingUsing(#{i})

Or having to mix :! filters and non : by saving the collection being iterated to a global javascript constant first. Neither is very desirable.

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