history-events
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "history-events", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Adds missing window.history events onpushstate, onreplacestate and onchangestate.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,2 +31,4 @@ # [history](https://developer.mozilla.org/en-US/docs/Web/API/Window/history)-events | ||
}); | ||
window.history.pushState(null, null, '/login'); // `changestate` will be triggered | ||
} | ||
@@ -33,0 +35,0 @@ ``` |
6419
51