4.3.0 • Published 9 years ago

webant-handler-dustjs v4.3.0

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

node-modules-webant-handler-dustjs

Require dustjs-linkedin templates with webant

Installation

$ npm install webant-handler-dustjs

Usage

Ensure the dustjs handler is present in your webant configuration file. For example:

{
    "entry":"src/js/main.js",
    "dest":"build/main.js",
    "handlers":["dustjs"]
}

You may now require dustjs files:

var tmpl = require("./path/to/template.dust");
var html = tmpl({name:"Jane Doe"});

Need access to the dust object?

var dust = require("{dustjs/runtime}");

Tests Build Status

Ensure phantomjs is installed and in your PATH, then run:

$ npm test
4.3.0

9 years ago

4.2.0

9 years ago

4.1.1

9 years ago

4.0.0

10 years ago

3.0.0

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.0.0

10 years ago