diff --git a/README.md b/README.md index 0f160ec..f5df7eb 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,11 @@ Test Coverage + + + Downloads + DOMNode function start (rootId, opts) { - if (!opts) opts = rootId + if (!opts) { + opts = rootId + rootId = null + } opts = opts || {} const name = opts.name || 'choo' const initialState = {} diff --git a/package.json b/package.json index 551567e..45e6579 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "choo", - "version": "2.1.4", + "version": "2.1.6", "description": "A 7kb framework for creating sturdy frontend applications", "main": "index.js", "scripts": {