Kasper Tidemann - human, developer, businessman, man of the world.
From our hands we give.

Category: Handlebars.js

HTML-safe strings in Handlebars

Quite often, you may find yourself working with JavaScript strings containing HTML. If you output these in Handlebars using the normal double-bracketed notation, a string containing Hello there!<br />Good to see you. will be output as just that: Hello there!<br />Good to see you. In order to insert the actual HTML, use the triple-bracketed option […]

Handlebars 1.0.0 has been released

Handlebars.js has now officially hit the first stable release, version 1.0.0 (which is technically version 1.0.12 on the 1.0.0 branch). The release containts mostly bug fixes and minor improvements – please refer to the release notes for additional details.

Building an App with Ember.js

Tom Dale, one of the core members of the Ember.js team, has recently recorded a screencast on how to build an app with Ember.js. Tom shows how to create templates, routes, and models in just a few steps. The app displays a list of blog posts with the ability to edit each post. Tom also […]

The canonical Ember.js routing example has been updated

I just updated my canonical Ember.js routing example to make use of the latest Ember.js build, Handlebars 1.0.0-rc.3, and jQuery 1.9.1. The example serves as a starting point for understanding how routing, controllers, and views work in Ember.js. I’ve also updated the live version of the example code and the ZIP file available for download. […]

Inspecting objects in Handlebars.js

When working with Handlebars.js templates, you might need to log something to the console in order to inspect values that are being shown, looped through or whatever the use case may be. Logging to the console in a template is possible by using the log helper. For instance, if you want to log the class […]

Ember.js 1.0.0-pre.4 is out!

It finally happened! Onto the stage came the new 1.0.0-pre.3 containing the new router API only to be replaced by 1.0.0-pre.4 a couple of hours later which supports jQuery 1.9.0 and the new {{partial}} expression in Handlebars. Go get it while it’s hot off the press!

Handlebars 1.0 RC1 is out!

Handlebars has been in a beta state the past 9 months, fully operational and stable. However, just three days ago a version 1.0 release candidate 1 popped up on GitHub. According to the commit history, the latest release contains a bunch of smaller bug fixes and improvements. Download the release candidate here.

Kasper Tidemann