NAME

Mojolicious::Plugin::Riotjs::Preprocessor - Preprocessor for Riot tag files

DESCRIPTION

Mojolicious::Plugin::Riotjs::Preprocessor is a preprocessor for riotjs .tag files.

Riot is required for this module to work. You can install Riot with npm:

$ sudo apt-get install npm
$ npm install riot

ATTRIBUTES

executable

$path = $self->executable;

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

METHODS

can_process

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

process

This method use "riot" 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