0.3.0 • Published 9 years ago

broccoli-jst v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

broccoli-jst

A Broccoli filter for compiling JST templates into JavaScript.

Install

$ npm install --save-dev broccoli-jst

Example

var jst = require('broccoli-jst');
tree = jst(tree, {
    extensions: ['ejs']         // optional (defaults to ['jst'])
,   namespace: 'App.JST'        // optional (defaults to 'JST')
,   templatesRoot: 'templates'  // optional (defaults to 'templates')
,   templateSettings: {}        // optional
,   amd: true                   // optional (defaults to 'false')
});

License

MIT © Sukjoon Kim