Merge branch 'master' into hash

This commit is contained in:
timwis
2016-06-04 19:25:12 -04:00
3 changed files with 10 additions and 2 deletions
+4 -1
View File
@@ -54,7 +54,10 @@ function choo () {
// start the application
// (str?, obj?) -> DOMNode
function start (rootId, opts) {
if (!opts) opts = rootId
if (!opts) {
opts = rootId
rootId = null
}
opts = opts || {}
const name = opts.name || 'choo'
const initialState = {}