wapplr 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/history.js +3 -6
- package/package.json +1 -1
package/dist/client/history.js
CHANGED
|
@@ -122,14 +122,11 @@ function createHistoryManager() {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
function defaultPush(to, inputState) {
|
|
125
|
-
var
|
|
126
|
-
pathname = _window$location2.pathname,
|
|
127
|
-
search = _window$location2.search,
|
|
128
|
-
hash = _window$location2.hash;
|
|
125
|
+
var pathname = window.location.pathname;
|
|
129
126
|
var newLocation = (0, _objectSpread2["default"])({
|
|
130
127
|
pathname: pathname,
|
|
131
|
-
search:
|
|
132
|
-
hash:
|
|
128
|
+
search: "",
|
|
129
|
+
hash: ""
|
|
133
130
|
}, typeof to === "string" ? history.parsePath(to) : to);
|
|
134
131
|
var url = createHref(newLocation);
|
|
135
132
|
var state = inputState || {};
|