Commit Graph
2 Commits
Author SHA1 Message Date
Todd Kennedy 1d38ab9f22 Allow for naming the rootId with no options
Right now if you want to name your rootId something different, but don't pass
in any options, it doesn't change the name of your rootId (see confusion in
github #49.

This would allow someone to use

```js
const app = choo()
app.start('myRootNode')
```

Rather than having to use

```js
const app = choo()
app.start('myRootNode', {name: 'myRootNode'})
```
2016-06-19 08:35:41 -07:00
Todd Kennedy 85d2ec3632 Clarify documentation on id overwrite 2016-06-15 20:16:03 -07:00