<commit_before># emblem-grunt

A grunt task for the [Emblem](http://emblemjs.com) templating language.

##Getting started
This plugin requires Grunt `~0.4.0`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install emblem-grunt --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('emblem-grunt');
```


### Options

#### dependencies
Type: 'Object'

In order to avoid conflicts with your existing libraries this plugin does not provide it's own copies of handlebars, ember, emblem, or jquery. Specify the paths to your own copies in the grunt options for each of the following:

 - handlebars
 - emblem
 - ember (optional)
 - jquery (only required if using ember)

#### root
Type: `String`

Specify the path to your template folder. This is only used when
registering the template names. For example if your template is at the path
`app/templates/posts/teaser.emblem` and `app/templates` is set as your root
then the template's name will be `posts/teaser`

#### separator (optional)
Type: `String`
Default: linefeed

Concatenated files will be joined on this string.

### Example Configuration

#### Ember.js<commit_msg>Readme tweaks<commit_after># emblem-grunt

A grunt task for the [Emblem](http://emblemjs.com) templating language.

##Getting started
This plugin requires Grunt `~0.4.0`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install emblem-grunt --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('emblem-grunt');
```


### Options

#### dependencies
Type: `Object`

In order to avoid conflicts with your existing libraries this plugin does not provide it's own copies of handlebars, ember, emblem, or jquery. Specify the paths to your own copies in the grunt options for each of the following:

 - handlebars
 - emblem
 - ember (optional)
 - jquery (only required if using ember)

#### root
Type: `String`

Specify the path to your template folder. This is only used when
registering the template names. For example if your template is at the path
`app/templates/posts/teaser.emblem` and `app/templates` is set as your root
then the template's name will be `posts/teaser`

#### separator (optional)
Type: `String`

Default: `linefeed`

Concatenated files will be joined on this string.

### Example Configuration

#### Ember.js
{'fraction_non_alphanumeric': 0.0963855421686747, 'fraction_numerical': 0.0019537609899055682, 'mean_word_length': 4.555153707052441, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4949587', 'n_tokens_mistral': 915, 'n_tokens_neox': 880, 'n_words': 400}