wycats/handlebars.js — Issue #166: Exception if checking presence and nothing was passed along
Author: ansman
Created: 2012-01-21 20:02:35+00:00
State: open

If you do a check like so: `{{#if foobar}}{{foobar}}{{/if}}`
It only works in you pass something to the template function.

I've created a JSFiddle that shows this behaviour: http://jsfiddle.net/aLpqs/

I think that the context should default to {} if nothing was given.
I don't see how that would break any existing code either.