bredele / grout

:sweat_drops: virtual dom
MIT License
3 stars 0 forks source link

static and dynamic data #6

Closed bredele closed 9 years ago

bredele commented 9 years ago

It should work as below:

var btn = dom('button','${name}');
btn({name:'olivier'});
btn({name:'bredele'});