NAME

Mojolicious::Plugin::AssetPack::Preprocessor::CoffeeScript - Preprocessor for CoffeeScript

DESCRIPTION

Mojolicious::Plugin::AssetPack::Preprocessor::CoffeeScript is a preprocessor for .coffee files.

CoffeeScript is a little language that compiles into JavaScript. See http://coffeescript.org for more information.

Installation on Ubuntu or Debian:

$ sudo apt-get install npm
$ sudo npm install -g coffee-script

ATTRIBUTES

executable

$path = $self->executable;

Holds the path to the "coffee" executable. Default to just "coffee".

METHODS

can_process

Returns true if "executable" points to an actual file.

process

This method use "coffee" to process $text.

See "process" in Mojolicious::Plugin::AssetPack::Preprocessor.

COPYRIGHT AND LICENSE

Copyright (C) 2014, Jan Henning Thorsen

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org