honestbleeps/Reddit-Enhancement-Suite — pull request #721 by SirCmpwn (2014-01-16 21:56:19+00:00)
Title: Hogan.js

Add templates to templates.html:

Hello, {{ name }}, welcome to Mustache!

Compile them:

RESTemplates.load("example")

Use them:

RESTemplates.example.text({ name: "test" });
//

Hello, test, welcome to Mustache!

RESTemplates.example.html({ name: "test" });
// jQuery HTML fragment