Open BartlomiejSkwira opened 9 years ago
Hi, @BartlomiejSkwira. I check your issue for master branch of Skim and Slim 3, and everything works fine. So this code:
- whatever = "hello world".replace(/ /g, '_')
- console.log whatever
outputs hello_world
You can update slim to version 3 and use this in your Gemfile:
gem 'skim', :git => 'https://github.com/jfirebaugh/skim.git'
or
gem 'skim', :git => 'https://github.com/gkopylov/skim.git', :branch => 'change_sprockets_version_dependency'
(if you want to use fresh version of sprockets gem).
And regard to Slim 2.0.2... I have not enough time to figure out with this issue, so you can just update versions or wait some time - may be someone else fix it.
When I try to do:
I get
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