Handlebars "switch" helper and alternatives
Creating a "switch" helper for Handlebars and why you might not want to use it.
I am Chris Montrois, a computer programmer with nearly authentic human emotions. I've been known to tweet on Twitter, liason on LinkedIn, git on GitHub, and fine-tune Flickr photos.
My greatest weaknesses are that I'm too handsome and smart and humble. If that isn't a problem for you, take a look at my resume.
Ocassionally I do things. You can find some of my work if you look down just a bit.
Creating a "switch" helper for Handlebars and why you might not want to use it.
Reload the browser without ever leaving Vim.
Ember.js is an excellent, but largely overlooked JavaScript framework. You've probably heard about it, but there's a good chance you haven't use it. Here are a few reasons why you might want to.
Working with strings in Swift can be cumbersome if you're coming from a language like JavaScript or Ruby. Here's how to solve some of the common problems.
Real time content is now a required feature (or at least it should be). Advances in JavaScript frameworks make it easy to keep content fresh with minimal effort.