rekow / tpluscoffee

t+.coffee: t.coffee on steroids.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

t+.coffee

t.coffee, on steroids.

Check out the docs.

How to use

Compile to JS as you normally would. You can also use the included Cakefile:

$ cake compile (-s/--source [SOURCEDIR]) (-o/--output [OUTPUTDIR])

Then use just like t.js:

var template = new t("<div>Hello {{=name}}</div>");
document.body.innerHTML = template.render({name: "World!"});

This software is released under the MIT license.

About

t+.coffee: t.coffee on steroids.

License:MIT License


Languages

Language:CoffeeScript 84.8%Language:Perl 10.0%Language:JavaScript 5.2%