Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CoffeeScript compilation #100

Merged
merged 1 commit into from
Apr 17, 2012

Conversation

aslakknutsen
Copy link
Member

Compile files of type x.coffee to javascript x.js

Adding CoffeeScriptTransformer to the pipeline will give you inline html script tag coffeescript compilation.
The transformer will scan html files for script[type='text/coffeescript'] and compile the inner_html or rename the src if the script is refering to a .coffee file

transformer Awestruct::Extensions::CoffeeScriptTransform.new

Compile files of type x.coffee to javascript x.js

Adding CoffeeScriptTransformer to the pipeline will give you  inline html script tag coffeescript compilation.
The transformer will scan html files for script[type='text/coffeescript'] and compile the inner_html or rename the src if the script is refering to a .coffee file

transformer Awestruct::Extensions::CoffeeScriptTransform.new
lance pushed a commit that referenced this pull request Apr 17, 2012
Add support for CoffeeScript compilation
@lance lance merged commit dc57e9d into awestruct:master Apr 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants