flatiron / plates

Light-weight, logic-less, DSL-free, templates for all javascript environments!
MIT License
831 stars 69 forks source link

Manipulation #79

Closed 3rd-Eden closed 12 years ago

3rd-Eden commented 12 years ago
3rd-Eden commented 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.

travisbot commented 12 years ago

This pull request passes (merged 4a87c15f into bee4f18e).

travisbot commented 12 years ago

This pull request passes (merged 5f39214b into bee4f18e).

travisbot commented 12 years ago

This pull request passes (merged e6eec676 into bee4f18e).

travisbot commented 12 years ago

This pull request passes (merged 3c071f5a into bee4f18e).

travisbot commented 12 years ago

This pull request passes (merged 6dd814f4 into bee4f18e).

travisbot commented 12 years ago

This pull request passes (merged ad8eefba into bee4f18e).