CoffeeScript

Experimental project

This is a sandbox project, which contains experimental code for developer use only.

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

Project information

  • Created by jamsilver on , updated