lukemelia/ember-bootstrap — pull request #25 by JamesWednesday (2012-08-10 08:57:11+00:00)
Title: Updated bind code for Bootstrap.NavList

###Notes

Added bindAttr for href & class to allow objects passed to be easily used instead of just text labels for the Navigation link.

I had to update view.title to view.content.title

Items passed into the NavList content array should be Objects, not just text.

### Bootstrap.NavList Example

```html

```

```javascript

var siteNavigation = [
{title: "Nav A", href: "#/RouteA"},
{title: "Nav B", href: "#/RouteB"},
{title: "Nav C", href: "#/RouteC",class:"last-child-hack-for-ie6"}
];

SampleApp.PrimaryNav = Bootstrap.NavList.create({
elementId: ['primary-navigation'],
content: siteNavigation,
selectionBinding: "SampleApp.NavController.selection"
});
```

Similar updates could be made to Pills, Tabs and other items with links.