Open kirjs opened 10 years ago
If variable could be used in filters one possible solution could look like this:
grasp -e 'define([_$before,"old",_$after], $callback)' test.js
-R define([{{before | concat 'now' | concat after | join ',' }}], callback)"
yes, I think a concat
filter is a good idea
e.g.
What I tried
Output
What I would like to achieve