The easy mode template parser in JavaScript.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
booyah.js

README.md

Booyah!

The easy mode template parser in JavaScript.

Decide what you want your template tags to look like and replace them with the content you want. Super small no predefined syntax rules.

A quick example:

var instance = new booyah();
instance.addTag('{{name}}', 'Kevin')
        .element( document.getElementById('bio') )
        .render();

More custom syntax rules:

var instance = new booyah();
instance.addTag('%%name%%', 'Kevin')
        .element( document.getElementById('bio') )
        .render();

Multiple tags:

var instance = new booyah();
instance.addTag('%%first%%', 'Kevin')
        .addTag('%%last%%', 'Dees')
        .element( document.getElementById('bio') )
        .render();