@bpui/libs
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -53,3 +53,3 @@ { | ||
"name": "@bpui/libs", | ||
"version": "1.1.2" | ||
"version": "1.1.3" | ||
} |
@@ -74,2 +74,4 @@ 'use strict'; | ||
l.query = febs.utils.mergeMap(p.query, path.query); | ||
l.state = path.state ? febs.utils.mergeMap(path.state) : null; | ||
l.hash = path.hash; | ||
} | ||
@@ -107,2 +109,4 @@ | ||
l.query = febs.utils.mergeMap(p.query, path.query); | ||
l.state = path.state ? febs.utils.mergeMap(path.state) : null; | ||
l.hash = path.hash; | ||
} | ||
@@ -167,6 +171,8 @@ | ||
let basePath = this.basePath; | ||
window.addEventListener('popstate', ()=>{ | ||
let query = url.parseUrl(window.location.search); | ||
let location = { | ||
path: utils.getCurrentRoutePath(this.basePath), | ||
path: utils.getCurrentRoutePath(basePath), | ||
query: febs.utils.mergeMap(query), | ||
@@ -173,0 +179,0 @@ state: history.state, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2955450
27067