<commit_before>stik
====

A JS lib to wire you JavaScript execution to your HTML template<commit_msg>Adding a simple example of the proposed API<commit_after>stik
====

A JS lib to wire you JavaScript execution to your HTML template

```HTML
<div id="characters-list" data-controller="CharactersCtrl" data-action="List">
  <ul>
    <li>Mario</li>
    <li>Samus</li>
    <li>Link</li>
  </ul>
</div>
```

```javascript
stik.register("CharactersCtrl", "List", function($teardown, $template){
  // use your favorite DOM library to attach events
  elm = $(template);

  herosList = elm.find("ul");

  herosList.on('click', 'li', function(event){
    alert("It's me Mario!!");
  });

  $teardown(function(){
    // here you should detach all you event handlers (e.g. jquery .unbind)
    herosList.unbind('click');
  });
});
```
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 4.208860759493671, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '995168', 'n_tokens_mistral': 281, 'n_tokens_neox': 267, 'n_words': 79}