diff --git a/src/app.js b/src/app.js index 246a81d..7e078a4 100644 --- a/src/app.js +++ b/src/app.js @@ -14,10 +14,10 @@ */ export default function app(opts) { // initial setup - let state = check(opts.state, {}); - let view = check(opts.view, () => null); - let actions = check(opts.actions, {}); - let mount = opts.mount || "body"; + const state = check(opts.state, {}); + const view = check(opts.view, () => null); + const actions = check(opts.actions, {}); + const mount = opts.mount || "body"; /** * simple type validation check @@ -63,4 +63,4 @@ export default function app(opts) { } return {state,update} -} \ No newline at end of file +}