When I try to do:
- whatever = "hello world".replace(/ /g, '_')
I get
Uncaught Error: ExecJS::RuntimeError: SyntaxError: [stdin]:57:38: unexpected /
(in /.../my_file.jst.skim)
There is a problem with / - ideas how to workaround this other then extracting that logic outside the .skim template?
Versions:
Skim: 0.9.3
Slim: 2.0.2