Mojolicious::Plugin::AssetPack::Preprocessor::Jsx - Preprocessor for JavaScript XML syntax (react.js)
Mojolicious::Plugin::AssetPack::Preprocessor::Jsx is a preprocessor for .jsx files.
.jsx
JSX is a JavaScript XML syntax transform recommended for use with React. See http://facebook.github.io/react/docs/jsx-in-depth.html for more information.
Installation on Ubuntu and Debian:
$ sudo apt-get install npm $ sudo npm install -g react-tools
$path = $self->executable;
Holds the path to the "jsx" executable. Default to just "jsx".
Returns true if "executable" points to an actual file.
This method use "jsx" to process $text.
$text
See "process" in Mojolicious::Plugin::AssetPack::Preprocessor.
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.
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
To install Mojolicious::Plugin::AssetPack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::AssetPack
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::AssetPack
For more information on module installation, please visit the detailed CPAN module installation guide.