In Browser Handlebars.js compiler for quick testing
HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
grunt partial merge of master w/v3 changes. some more to come Sep 19, 2015
js systemjs useage complete, es6 support, etc, with some follow ons for … Oct 29, 2015
sass labels look good Sep 30, 2015
.bowerrc make bower install easier Sep 21, 2015
.gitignore systemjs useage complete, es6 support, etc, with some follow ons for … Oct 29, 2015
.project update handlebars via bower.json entry Sep 24, 2015
404.html initial import May 19, 2011
Gruntfile.js partial merge of master w/v3 changes. some more to come Sep 19, 2015
README.markdown systemjs useage complete, es6 support, etc, with some follow ons for … Oct 29, 2015
apple-touch-icon-114x114-precomposed.png initial import May 19, 2011
apple-touch-icon-57x57-precomposed.png initial import May 19, 2011
apple-touch-icon-72x72-precomposed.png initial import May 19, 2011
apple-touch-icon-precomposed.png initial import May 19, 2011
apple-touch-icon.png initial import May 19, 2011
bower.json systemjs useage complete, es6 support, etc, with some follow ons for … Oct 29, 2015
config.js systemjs useage complete, es6 support, etc, with some follow ons for … Oct 29, 2015
crossdomain.xml initial import May 19, 2011
favicon.ico initial import May 19, 2011
humans.txt initial import May 19, 2011
index.html Changed unless truthy to value of true not the string 'true'. Was con… Jul 25, 2016
package.json systemjs useage complete, es6 support, etc, with some follow ons for … Oct 29, 2015
robots.txt initial import May 19, 2011

README.markdown

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)