janl/mustache.js — Issue #154: Dot notation not working
Author: manuels
Created: 2012-01-19 19:47:42+00:00
State: open

Looks like there is a bug in the dot notation.
Although the documentation says that dot notation should work:

> JavaScript's dot notation may be used to access keys that are properties of objects in a view.
>
> Template:
>
> * {{name.first}} {{name.last}}
> * {{age}}
>
> View:
>
> {
> "name": {
> "first": "Michael",
> "last": "Jackson"
> },
> "age": "RIP"
> }
>
> Output:
>
> * Michael Jackson
> * RIP

the output actually is
```
*
* RIP
```

Doesn't work in FF 9.0.1 nor in Chromium 15.0.874.106.
No javascript error is raised.