andyet/ICanHaz.js — Issue #38: Empty array if there is returned if there is no HTML tag in the template.
Author: Sephi-Chan
Created: 2011-12-23 22:08:24+00:00
State: open

Hello,

I noticed a bug when I use very simple templates, without HTML tag. For instance:

``` html

```

When I compile it, it fails.

``` javascript
ich.turnCounter({ turn: 3 }) // => []
```

I would expect to have "Turn 3". Any idea?

Thanks for ICanHaz anyway, it's very cool with more real-world templates ! ;)