How are you processing CoffeeScript templates? #317

OiNutter opened this Issue Apr 18, 2012 · 0 comments


None yet
2 participants

Hi, this is not really an issue, more a request for help, but this seemed the best place to put it to give all Sprockets contributors a chance to answer. In short I'm trying to write a Sprockets alternative for Python. Unfortunately I'm having trouble working out how to do the CoffeeScript processing and am relatively new to Ruby so reading through the source for Sprockets hasn't helped me as much as I'd like. Was hoping somebody could point me in the right direction?

The part I'm stuck on is preserving the include directives and inserting them in the correct place. I'm assuming this is done after the coffeescript is compiled (so as not to cause issues with including js files and trying to compile those) but could be wrong.

@josh josh closed this May 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment