CoffeeScript PHP

Categories

Component ID

1602184

Component name

CoffeeScript PHP

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

I've written this module because http://drupal.org/project/coffeescript doesn't seem to have gotten off the ground.

It relies on the CoffeeScript PHP library to provide compilation of .coffee files all in PHP-land.

This module uses the http://drupal.org/project/prepro module (needs the patch in #1602174: Add support for JS preprocessing) to automatically preprocess all coffeescript files being added with drupal_add_js(), creating the compiled javascript files in the files directory and caching them appropriately.

For more details about what CoffeeScript is and why you would use it see:

Official website: http://coffeescript.org/
Blurb on the CoffeeScript Drupal module page: http://drupal.org/project/coffeescript