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

Category: Templating

Mithril Elements

The Mithril project by Leo Horie has seen great traction the past few months and with good cause: it’s an amazingly simple, easy-to-use framework for client-side applications written in JavaScript. With great traction comes community support and extensions to the framework. One of the first in line is the brand new Mithril Elements by Phil […]

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 […]

How to fix the "Implicit textOnly for `script` and `style` is deprecated." error in Jade

If you’re using Jade with Node.js in a project, chances are you’re seeing this deprecation warning these days: Implicit textOnly for `script` and `style` is deprecated. Use `script.` or `style.` instead. Unfortunately, the error message is not too helpful, lacking references to files and line numbers. What it means is that in your templates, whenever […]

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.

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