javve/list — Issue #46: Error when not all valueNames exist.
Author: toreym
Created: 2012-02-18 04:44:11+00:00
State: open

I am creating a list that may or may not have all items specified in valueNames. A full list item is like so

```

```
```
var options = {
valueNames: [ 'post-title', 'post-summary', 'post-attachment' ],
searchClass: "search-query",
item: "post-list-item"
};

var postList = new List('mystream', options);
```

However, if post-attachment is missing then I get an error cannot read innerHTML on 534.

Is there something that I should be doing to manage lists that have variable items?