Disable hash routing by default (#699)

This commit is contained in:
Carl Törnqvist
2019-06-11 23:05:15 +02:00
committed by GitHub
parent 0b4d578f01
commit d62691f207
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ function Choo (opts) {
// properties for internal use only
this._historyEnabled = opts.history === undefined ? true : opts.history
this._hrefEnabled = opts.href === undefined ? true : opts.href
this._hashEnabled = opts.hash === undefined ? true : opts.hash
this._hashEnabled = opts.hash === undefined ? false : opts.hash
this._hasWindow = typeof window !== 'undefined'
this._cache = opts.cache
this._loaded = false