Closed simenbrekken closed 9 years ago
This patch allows install to be invoked several times for multiple extensions.
install
Example:
var JSX = require('node-jsx') JSX.install() JSX.install({extension: '.coffee', additionalTransform: function ... )
If the multiple invocation style isn't to your liking I've also made a multiple-extensions branch that expands options to achieve the same.
This patch allows
install
to be invoked several times for multiple extensions.Example:
If the multiple invocation style isn't to your liking I've also made a multiple-extensions branch that expands options to achieve the same.