Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A lightweight server-side jade compilation framework
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo
.gitignore
README.md
jade-bundler.js
package.json

README.md

JadeBundler

A lightweight server-side jade compilation framework

Example

require(['js/runtime', 'js/allViews'], function (runtime, allViews) {
  var view;

  // Iterate over views
  for(view in allViews) {

    // Create a container div
    var div = document.createElement('div');

    // Set its content to this invoked view function
    div.innerHTML = allViews[view]({'name': 'Fred'});

    // Append it to the body
    document.body.appendChild(div);
  }
});
Something went wrong with that request. Please try again.