<commit_before># DOMinate
A **DOM building utility** and **Template engine** build upon **JsonML** with syntax sugar.

## Features
- **Universal:** You can easily make JsonML in almost any programming language
- **Tiny:** Only 0.3k minified and gzipped
- **DOM-ready:** Returns a DOM DocumentFragment
- **Simple:** Build the JsonML Array, parse it.

## Versions
DOMinate is available in three versions, which are based on each other.

### DOMinate essential
- Contains the basic functionality
- Attempt to build the shortest JsonML parser possible (only 272 bytes)
- For projects where every byte counts

```javascript
	DOMinate(
		[document.body,
			['h1', 'Static Example', {'id':'logo', 'style':'color:blue'}],
			['p','some example text'],
			['ul', {'id':'list', class:'bullets'}],
				['li', 'item1'],
                ['li', 'item2', {'class': 'active'}],
                ['li',
                    ['a', 'item3', {'href': '#'}]
                ]
			]
		]
	);
```


### DOMinate
- Standard version of DOMinate which keeps the balance between size and functionality (345 bytes)
- Returns a DOM Object
- Syntax Sugar for ids

```javascript
	var content = DOMinate(
		[document.body,
			['h1#logo', 'Static Example', {'style':'color:blue'}],
			['p','some example text'],
			['ul#list', {class:'bullets'}],
				['li', 'item1'],
                ['li', 'item2', {'class': 'active'}],
                ['li',
                    ['a', 'item3', {'href': '#'}]
                ]
			]
		]
	);
```


### DOMinate extended
- Contains all the functionality (467 bytes)
- Syntax Sugar for classes
- Support for namespaces. (Lets you build SVGs)


** Check out the examples folder **<commit_msg>Added copyright and licensing<commit_after># DOMinate
A **DOM building utility** and **Template engine** build upon **JsonML** with syntax sugar.

## Features
- **Universal:** You can easily make JsonML in almost any programming language
- **Tiny:** Only 0.3k minified and gzipped
- **DOM-ready:** Returns a DOM DocumentFragment
- **Simple:** Build the JsonML Array, parse it.

## Versions
DOMinate is available in three versions, which are based on each other.

### DOMinate essential
- Contains the basic functionality
- Attempt to build the shortest JsonML parser possible (only 272 bytes)
- For projects where every byte counts

```javascript
	DOMinate(
		[document.body,
			['h1', 'Static Example', {'id':'logo', 'style':'color:blue'}],
			['p','some example text'],
			['ul', {'id':'list', class:'bullets'}],
				['li', 'item1'],
                ['li', 'item2', {'class': 'active'}],
                ['li',
                    ['a', 'item3', {'href': '#'}]
                ]
			]
		]
	);
```


### DOMinate
- Standard version of DOMinate which keeps the balance between size and functionality (345 bytes)
- Returns a DOM Object
- Syntax Sugar for ids

```javascript
	var content = DOMinate(
		[document.body,
			['h1#logo', 'Static Example', {'style':'color:blue'}],
			['p','some example text'],
			['ul#list', {class:'bullets'}],
				['li', 'item1'],
                ['li', 'item2', {'class': 'active'}],
                ['li',
                    ['a', 'item3', {'href': '#'}]
                ]
			]
		]
	);
```


### DOMinate extended
- Contains all the functionality (467 bytes)
- Syntax Sugar for classes
- Support for namespaces. (Lets you build SVGs)


** Check out the examples folder **

###Copyright and Licensing

Copyright (c) 2012 <NAME>, released under the MIT license.
{'fraction_non_alphanumeric': 0.16772151898734178, 'fraction_numerical': 0.012082853855005753, 'mean_word_length': 3.047729918509895, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6551743', 'n_tokens_mistral': 1112, 'n_tokens_neox': 992, 'n_words': 367}