0.1.5 • Published 9 years ago

task-jst v0.1.5

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

task-jst

Compile templates to a JST file.

The "jst" task

Usage Examples

var jst = new (require('task-jst'))
jst.run(inputs, options, logger)

Options

options.settings

Type: object

By default, uses ERB-style template delimiters, change the following template settings to use alternative delimiters.

{
    evaluate    : /<%([\s\S]+?)%>/g,
    interpolate : /<%=([\s\S]+?)%>/g,
    escape      : /<%-([\s\S]+?)%>/g,
    include      : /<%@([\s\S]+?)%>/g
}

options.namespace

Type: string

options.wrapper

Type: select Options: ["amd", "kmd"]

Release History

  • 2015-01-06 0.1.0 Initial release.

License

Copyright (c) 2015 Yuanyan Cao. Licensed under the MIT license.

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago