<commit_before>boom.js
=======

BOOM is a little piece of JS which makes creating HTML trees
from JS a little easier. It also comes with some jQuery-like syntax
for which I am eternaly grateful to the great Resig.

To create a BOOM, use boom:

```javascript
var myDiv = boom(['div', {cls:'my-div'}, {
    header: ['h2', {}, 'Some header in my-div'],
    form: ['form', {id: 'a-form-to-show-more-nesting'}, {
        textfield: ['input', {type:'text', name:'mytextfield', id:'mytextfield'}],
        submit ['input', {type:'submit', name:'mybutton', id:'mybutton', value:'My value'}],
    }]
}])
```

After creating you BOOM, you can simply access all of its elements by name,
for example:

```javascript
myDiv.header.html('I\'ve changed the <b>header</b>');
var val = myDiv.form.textfield.val();
myDiv.form.listen('submit', function(evt) { });
```<commit_msg>The missing link<commit_after>boom.js
=======

BOOM is a little piece of JS which makes creating HTML trees
from JS a little easier. It also comes with some jQuery-like syntax
for which I am eternaly grateful to the great Resig.

To create a BOOM, use boom:

```javascript
var myDiv = boom(['div', {cls:'my-div'}, {
    header: ['h2', {}, 'Some header in my-div'],
    form: ['form', {id: 'a-form-to-show-more-nesting'}, {
        textfield: ['input', {type:'text', name:'mytextfield', id:'mytextfield'}],
        submit ['input', {type:'submit', name:'mybutton', id:'mybutton', value:'My value'}],
    }]
}])
myDiv.appendTo(document.body)
```

After creating you BOOM, you can simply access all of its elements by name,
for example:

```javascript
myDiv.header.html('I\'ve changed the <b>header</b>');
var val = myDiv.form.textfield.val();
myDiv.form.listen('submit', function(evt) { });
```
{'fraction_non_alphanumeric': 0.18046830382638493, 'fraction_numerical': 0.001142204454597373, 'mean_word_length': 4.440993788819876, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '695292', 'n_tokens_mistral': 576, 'n_tokens_neox': 563, 'n_words': 191}