Sha256: 9d0a8c4c8f93d771cff46b3e4c0b7ff05faa36e5dea0591ac42c7cb12bba7f1e

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 Bytes

Contents

# Sprockets::Dotjs

Compile doT.JS templates (`jst.djs` extension) into rails `JST` env variable

Supports doT.JS partial feature by using Sprocket's `depend_on` directive

## Installation

Add this line to your application's Gemfile:

    gem 'sprockets-dotjs'

And then execute:

    $ bundle

## Usage

Put doT.js template files inside the `assets/javascript` directory and generate them by calling `JST["#{file_path}"]()`

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sprockets-dotjs-3.0.1 README.md
sprockets-dotjs-3.0.0 README.md
sprockets-dotjs-2.1.1 README.md
sprockets-dotjs-2.1.0 README.md