Fix missing underscore in _hasWindow (#589)

This commit is contained in:
Carl Törnqvist
2017-10-22 15:24:19 +02:00
committed by Yoshua Wuyts
parent 4cc3d2eff6
commit b0754869fc
+1 -1
View File
@@ -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