From b0754869fc6a200adf20a41552ff6b640bf3973f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20T=C3=B6rnqvist?= Date: Sun, 22 Oct 2017 15:24:19 +0200 Subject: [PATCH] Fix missing underscore in _hasWindow (#589) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 98fa41b..5506d14 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ function Choo (opts) { this.emitter = nanobus('choo.emit') var events = { events: this._events } - if (this.hasWindow) { + if (this._hasWindow) { this.state = window.initialState ? xtend(window.initialState, events) : events