@lexriver/dome 1.5.3 → 1.5.4

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/out/DomeRouter.js CHANGED
@@ -10,8 +10,8 @@ export var DomeRouter;
10
10
  // on go back
11
11
  console.log(filename, 'window.popstate event', e, 'historyUrls=', historyUrls);
12
12
  const url = window.location.pathname;
13
- addUrlToHistory(url);
14
13
  await executeAsync(url, getScrollPositionForUrl(url));
14
+ addUrlToHistory(url);
15
15
  // await DomeManipulator.scrollToAsync({
16
16
  // pxFromTop: getScrollPositionForUrl(window.location.pathname)
17
17
  // })
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "sideEffects": false,
4
4
  "name": "@lexriver/dome",
5
- "version": "1.5.3",
5
+ "version": "1.5.4",
6
6
  "description": "",
7
7
  "main": "out/index.js",
8
8
  "types": "out/index.d.ts",
package/src/DomeRouter.ts CHANGED
@@ -29,8 +29,8 @@ export module DomeRouter {
29
29
  // on go back
30
30
  console.log(filename, 'window.popstate event', e, 'historyUrls=', historyUrls)
31
31
  const url = window.location.pathname
32
- addUrlToHistory(url)
33
32
  await executeAsync(url, getScrollPositionForUrl(url) )
33
+ addUrlToHistory(url)
34
34
  // await DomeManipulator.scrollToAsync({
35
35
  // pxFromTop: getScrollPositionForUrl(window.location.pathname)
36
36
  // })