Skip to content

sinitsa/Try-Handlebars.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

In Browser Handlebars.js compiler for quick testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.2%
  • JavaScript 33.7%
  • CSS 10.1%