AmpersandJS/ampersand-dom-bindings — pull request #22 by lukekarrys (2014-10-02 21:50:12+00:00)
Title: allow custom types to be created and run

The API for `ampersand-dom-bindings` would be:
```js
domBindings({
'model.key': {
type: 'customType',
selector: '.thing'
}
}, {
customType: function (el, value, previousValue) { /* ... */ }
})
```

The idea is that `ampersand-view` could have a `bindingTypes` hash that would get passed to `ampersand-dom-bindings` so that they could be used like this:
```js
View.extend({
bindings: {
'model.name': {
type: 'customNameValue',
hook: 'name'
}
},
bindingTypes: {
customNameValue: function (el, value, previousValue) { /* ... */ }
}
});
```

Closes #21