<commit_before># Broccoli Ember Inline Template Compiler

Broccoli plugin that precompiles inline Handlebars templates so that libraries or applications can be packaged with Handlebars Runtime only instead of the full library.

## Documentation

### `inlineTemplateCompiler(inputTree)`

`inputTree` *{Single Tree}*

Input is a single tree.

### Usage

In order for Broccoli Ember Inline Template Compiler to pickup inline templates, they must be assigned to a local variable called `precompileTemplate`

Example:

```
  // instead of
  var template = Ember.Handlebars.compile("...");

  // do
  var precompileTemplate = Ember.Handlebars.compile;
  var template = precompileTemplate("...");
```

### Installation (as Broccoli plugin)

`npm install --save-dev broccoli-ember-inline-template-compiler`

And then in your `Brocfile.js`:

```
var inlineTemplateCompiler = require('broccoli-ember-inline-template-compiler');

tree = inlineTemplateCompiler(tree);
```

### Installation (as ember-cli addon)

`npm install --save-dev broccoli-ember-inline-template-compiler`

No changes to your `Brocfile.js`

### Credits

Extracted from https://github.com/emberjs/ember.js/blob/master/lib/broccoli-ember-inline-template-precompiler.js. Authored by [@rwjblue](https://github.com/rwjblue), [@fivetanley](https://github.com/fivetanley), and [@concreted](https://github.com/concreted).

## License

This project is distributed under the MIT license.
<commit_msg>Added syntax highlighting<commit_after># Broccoli Ember Inline Template Compiler

Broccoli plugin that precompiles inline Handlebars templates so that libraries or applications can be packaged with Handlebars Runtime only instead of the full library.

## Documentation

### `inlineTemplateCompiler(inputTree)`

`inputTree` *{Single Tree}*

Input is a single tree.

### Usage

In order for Broccoli Ember Inline Template Compiler to pickup inline templates, they must be assigned to a local variable called `precompileTemplate`

Example:

```javascript
  // instead of
  var template = Ember.Handlebars.compile("...");

  // do
  var precompileTemplate = Ember.Handlebars.compile;
  var template = precompileTemplate("...");
```

### Installation (as Broccoli plugin)

`npm install --save-dev broccoli-ember-inline-template-compiler`

And then in your `Brocfile.js`:

```javascript
var inlineTemplateCompiler = require('broccoli-ember-inline-template-compiler');

tree = inlineTemplateCompiler(tree);
```

### Installation (as ember-cli addon)

`npm install --save-dev broccoli-ember-inline-template-compiler`

No changes to your `Brocfile.js`

### Credits

Extracted from https://github.com/emberjs/ember.js/blob/master/lib/broccoli-ember-inline-template-precompiler.js. Authored by [@rwjblue](https://github.com/rwjblue), [@fivetanley](https://github.com/fivetanley), and [@concreted](https://github.com/concreted).

## License

This project is distributed under the MIT license.

{'fraction_non_alphanumeric': 0.11877133105802047, 'fraction_numerical': 0.0, 'mean_word_length': 4.993865030674846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '4750347', 'n_tokens_mistral': 892, 'n_tokens_neox': 844, 'n_words': 256}