BraveNewTalent/cosy-js — pull request #2 by rowanmanning (2012-09-27 16:12:19+00:00)
Title: Add hogan template support

Look sane to you guys (@bahulneel @adlawson)? Temporary location (this may move into a separate module at some point) but wanted to get an idea of how a template implementation might look.

Basic usage would look something like this:

```coffee
{tmpl} = require 'src/template/hogan'
{render} = require 'src/protocol/template'

helloThing = (tmpl 'Hello {{thing}}!')
result = (render helloThing, thing: 'World')
```