parse root element
bodokaiser opened this issue · comments
I noticed that reactive can not bind to the data-* bindings of the root element:
var $a = document.createElement('a');
$a.dataset.href = 'username');
var model = { username: 'blabla' };
reactive($a, model);
// outputs ""
console.log($a.href);
see #72