jade browser
this is a test project to try to build jade for the browser using brequire.
running
open index.html in a browser
works in Firefox, Chrome
build
node build.js
will build jade.js
using brequire
jade-shim.js contains any necessary missing components, currently it consists of:
- an empty module for 'fs'
- definition for Object.keys
potential problems
- browsers that don't support proto
denendencies
npm install brequire jade
latest npm, brequire