Skip to content

Commit 1fb2df8

Browse files
committed
✨ Release v2.0.2
2 parents 7e34d55 + 4ce7f5f commit 1fb2df8

File tree

11 files changed

+18
-17
lines changed

11 files changed

+18
-17
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
- :art: Replace `Renderer.page` by `Renderer.properties`
4747
- :bug: Fix `NAVIGATE_IN` event that was fired too early
4848
- :bug: Fix the view swapping that causes so issues
49+
- :bug: Fix page caching with queries
4950
- :bug: Fix [issue #9](https://github.com/Dogstudio/highway/issues/9)
5051
- :bug: Fix [issue #12](https://github.com/Dogstudio/highway/issues/12)
5152
- :sparkles: Improve overall code

build/es5/highway.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2847,7 +2847,7 @@ function (_Emitter) {
28472847

28482848
_this.cache = new Map();
28492849

2850-
_this.cache.set(_this.location.pathname, _this.properties); // Get the page renderer and properly setup it.
2850+
_this.cache.set(_this.location.url, _this.properties); // Get the page renderer and properly setup it.
28512851

28522852

28532853
_this.properties.renderer.then(function (Renderer) {

build/es5/highway.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/es5/highway.min.js.gz

0 Bytes
Binary file not shown.

build/highway.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ class core_Core extends tiny_emitter_default.a {
528528

529529
// Cache
530530
this.cache = new Map();
531-
this.cache.set(this.location.pathname, this.properties);
531+
this.cache.set(this.location.url, this.properties);
532532

533533
// Get the page renderer and properly setup it.
534534
this.properties.renderer.then(Renderer => {

build/highway.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/highway.min.js.gz

6 Bytes
Binary file not shown.

docs/assets/js/main.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dogstudio/highway",
33
"license": "MIT",
4-
"version": "2.0.1",
4+
"version": "2.0.2",
55
"main": "assets/js/main.js",
66
"scripts": {
77
"build": "webpack",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dogstudio/highway",
33
"license": "MIT",
4-
"version": "2.0.1",
4+
"version": "2.0.2",
55
"description": "Highway helps you manage your page transitions",
66
"main": "build/highway.js",
77
"unpkg": "build/highway.min.js",

0 commit comments

Comments
 (0)