<commit_before># SimplateJS
SimplateJS is a logicless templating system for JavaScript.  It weighs in at under 1KB and can be used when the big guys are way to much overhead or you just need something... well, simple. There are no external dependencies.

##Changelog

* ``0.3.0`` :
    * Added support for "get" by ID
    * Added automated QUnit test
    * Added new **has** method
* ``0.2.0`` : 
    * Added support for AMD/CommonJS
    * Added QUnit tests
* ``0.1.0`` :  Initial commit

##Examples
Link to SimplateJS in your HTML:

```javascript
<script src="/path/to/simplate.min.js"></script>
```

SimplateJS has three methods: **get** , **set** and **has**.

Create a new template using the **set** method:

```javascript
simplate.set( 'table.tr', '<tr><td>{{firstname}}</td><td>{{lastname}}</td></tr>' );
```
Check to see if a template exists using the **has** method:

```javascript
simplate.has( 'table.tr');<commit_msg>Update Readme for 0.4.0<commit_after># SimplateJS
SimplateJS is a logicless templating system for JavaScript.  It weighs in at under 1KB and can be used when the big guys are way to much overhead or you just need something... well, simple. There are no external dependencies.

##Changelog
* ``0.4.0`` :
    * Unrecognized values are now left in templates instead of removed
    * "get" by Id now verifys that the 'document' object exists before trying to select
* ``0.3.0`` :
    * Added support for "get" by ID
    * Added automated QUnit test
    * Added new **has** method
* ``0.2.0`` : 
    * Added support for AMD/CommonJS
    * Added QUnit tests
* ``0.1.0`` :  Initial commit

##Examples
Link to SimplateJS in your HTML:

```javascript
<script src="/path/to/simplate.min.js"></script>
```

SimplateJS has three methods: **get** , **set** and **has**.

Create a new template using the **set** method:

```javascript
simplate.set( 'table.tr', '<tr><td>{{firstname}}</td><td>{{lastname}}</td></tr>' );
```
Check to see if a template exists using the **has** method:

```javascript
simplate.has( 'table.tr');
{'fraction_non_alphanumeric': 0.15014720314033367, 'fraction_numerical': 0.012757605495583905, 'mean_word_length': 3.9490291262135924, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '1000140', 'n_tokens_mistral': 681, 'n_tokens_neox': 628, 'n_words': 251}