Skip to content

Commit acd0c06

Browse files
author
Anthony Du Pont
committed
✨ Release v1.1.2
1 parent ab0a5ed commit acd0c06

File tree

6 files changed

+17
-13
lines changed

6 files changed

+17
-13
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ On the Javascript-side it's again pretty simple... What you need to do is to cre
102102
// Import Highway
103103
import Highway from '@dogstudio/highway';
104104

105-
class Home extends Highway.renderer {
105+
class Home extends Highway.Renderer {
106106
[...]
107107
}
108108

@@ -121,7 +121,7 @@ Besides the required methods from **Highway** present in the `Highway.Renderer`
121121
// Import Highway
122122
import Highway from '@dogstudio/highway';
123123

124-
class Home extends Highway.renderer {
124+
class Home extends Highway.Renderer {
125125
onEnter() { }
126126
onLeave() { }
127127
onEnterCompleted() { }
@@ -292,6 +292,10 @@ const H = new Highway.Core({
292292
- [ ] More Examples
293293

294294
## History
295+
#### 1.1.2 (2018-03-22)
296+
297+
- Fix documentation
298+
295299
#### 1.1.1 (2018-03-17)
296300

297301
- Fix documentation

examples/basic-css-transition/src/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ import Fade from './transitions/fade';
1515
// More informations: https://github.com/Dogstudio/highway
1616
new Highway.Core({
1717
renderers: {
18-
'home': Home,
19-
'page': Page
18+
home: Home,
19+
page: Page
2020
},
2121
transitions: {
22-
'home': Fade,
23-
'page': Fade
22+
home: Fade,
23+
page: Fade
2424
}
2525
});
2626

examples/basic-google-analytics/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import Page from './renderers/page';
1111
// More informations: https://github.com/Dogstudio/highway
1212
const H = new Highway.Core({
1313
renderers: {
14-
'home': Home,
15-
'page': Page
14+
home: Home,
15+
page: Page
1616
}
1717
});
1818

examples/basic-menu-active/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import Page from './renderers/page';
1111
// More informations: https://github.com/Dogstudio/highway
1212
const H = new Highway.Core({
1313
renderers: {
14-
'home': Home,
15-
'page': Page
14+
home: Home,
15+
page: Page
1616
}
1717
});
1818

examples/basic-setup/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import Page from './renderers/page';
1111
// More informations: https://github.com/Dogstudio/highway
1212
new Highway.Core({
1313
renderers: {
14-
'home': Home,
15-
'page': Page
14+
home: Home,
15+
page: Page
1616
}
1717
});
1818
})();

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": "1.1.1",
4+
"version": "1.1.2",
55
"description": "Highway helps you manage your page transitions",
66
"main": "dist/highway.js",
77
"unpkg": "dist/highway.min.js",

0 commit comments

Comments
 (0)