You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:Or having to mix
:!
filters and non:
by saving the collection being iterated to a global javascript constant first. Neither is very desirable.The text was updated successfully, but these errors were encountered: