Closed 3rd-Eden closed 12 years ago
@hij1nx I also started on implementing the Map#tag
as it makes it easier to do:
var html = '<html><title></title></html>'
var map = plates.Map();
map.tag('title').use('foo');
plates.bind(html, { foo: 'bar' }, map); // <html><title>bar</title></html>
Currently only have support for tags without attributes ;) but it fits this usecase perfectly.
Mapper#append
orMapper#partial
method.Mapper#remove