All Projects → jblotus → Try Handlebars.js

jblotus / Try Handlebars.js

In Browser Handlebars.js compiler for quick testing

Labels

Try Handlebars.js


http://www.tryhandlebarsjs.com

Try Handlebars is a web tool I made to help preview Handlebars.js templates easily in the browser.

This site was built quickly on top of HTML5 Boilerplate.

How does it work?

All of the example templates and contexts are stored in the index.html file as different script blocks. When you select a template it populates the textareas. They are eval'd when you click compile and HTML output is displayed in the output textarea. An html preview is also displayed inline but I will probably remove that.

Contributing

  • Fork the repo
  • Install jspm if needed npm install jspm -g
  • npm install
  • You'll need to run a simple web server to support xhr requests. I recommend https://github.com/indexzero/http-server
  • Do not commit build artifacts (node_modules, components, etc)
  • Submit pull request (please rebase your changes into one commit)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].