4 Commits

Author SHA1 Message Date
1264a11140 1.0.15 2023-04-11 11:46:53 +02:00
c2c4fc96a5 fix(core): update 2023-04-11 11:46:53 +02:00
7d01fe89bc 1.0.14 2023-03-18 19:52:33 +01:00
c6a7938a3e fix(core): update 2023-03-18 19:52:32 +01:00
4 changed files with 357 additions and 277 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartrouter", "name": "@pushrocks/smartrouter",
"version": "1.0.13", "version": "1.0.15",
"private": false, "private": false,
"description": "a router for routing on websites", "description": "a router for routing on websites",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -18,7 +18,7 @@
"@gitzone/tsbundle": "^2.0.7", "@gitzone/tsbundle": "^2.0.7",
"@gitzone/tstest": "^1.0.60", "@gitzone/tstest": "^1.0.60",
"@pushrocks/tapbundle": "^5.0.4", "@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.11.18" "@types/node": "^18.15.3"
}, },
"dependencies": { "dependencies": {
"path-to-regexp": "^6.2.0" "path-to-regexp": "^6.2.0"

625
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartrouter', name: '@pushrocks/smartrouter',
version: '1.0.13', version: '1.0.15',
description: 'a router for routing on websites' description: 'a router for routing on websites'
} }

View File

@ -51,9 +51,6 @@ export class SmartRouter {
popStateEventArg.preventDefault(); popStateEventArg.preventDefault();
this._handleRouteState(); this._handleRouteState();
}); });
window.addEventListener('DOMContentLoaded', () => {
this._handleRouteState();
});
} }
/** /**