wycats / rake-pipeline-web-filters

MIT License
116 stars 36 forks source link

Support for Slim templates #66

Closed elyngved closed 10 years ago

elyngved commented 11 years ago

Tilt can be used to compile Slim templates just like any other Tilt-supported template, but it depends on the 'slim' gem in order to do so (which itself requires 'tilt'.) I simply made a SlimFilter class to be a subclass of TiltFilter, with 'slim' defined as it's sole external dependency.

ahx commented 11 years ago

I think the Tilt filter is enough. Adding so much code, just to not have to write require 'slim' seems to complicate things unnecessarily.

hjr3 commented 11 years ago

I will defer to @wycats on this one.

hjr3 commented 10 years ago

Closing this as @wycats has not responded. I also agree with @ahx that this is a lot of code for little gain.