Skip to content

Commit f747081

Browse files
author
Anthony Du Pont
committed
✨ Release v1.3.1
1 parent 5e1aadb commit f747081

File tree

21 files changed

+7134
-7
lines changed

21 files changed

+7134
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ Check out the [**Basic Menu Active**](https://github.com/Dogstudio/highway/tree/
284284
- [**Basic Menu Active**](https://github.com/Dogstudio/highway/tree/master/examples/basic-menu-active)
285285
- [**Basic Anchor**](https://github.com/Dogstudio/highway/tree/master/examples/basic-anchor)
286286
- [**Basic Google Analytics Events**](https://github.com/Dogstudio/highway/tree/master/examples/basic-google-analytics)
287+
- [**Basic Polyfill**](https://github.com/Dogstudio/highway/tree/master/examples/basic-polyfill)
287288

288289
## Support
289290

@@ -306,6 +307,7 @@ Note that **Highway** uses modern features because we wanted it to be *modern*.
306307
#### 1.3.x
307308

308309
- Add the `Basic Anchor` example
310+
- Add the `Basic Polyfill` example
309311
- Remove **modes** that weren't convincing
310312
- Improve code and weight with ES2016+ features
311313
- Improve events

examples/basic-anchor/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.3.0",
4+
"version": "1.3.1",
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "webpack",

examples/basic-css-transition/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.3.0",
4+
"version": "1.3.1",
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "webpack",

examples/basic-google-analytics/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.3.0",
4+
"version": "1.3.1",
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "webpack",

examples/basic-menu-active/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.3.0",
4+
"version": "1.3.1",
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "webpack",

examples/basic-polyfill/.eslintrc

Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
{
2+
"root": true,
3+
"parserOptions": {
4+
"ecmaVersion": 2018,
5+
"sourceType": "module",
6+
"ecmaFeatures": {
7+
"jsx": true,
8+
"globalReturn": true,
9+
"impliedStrict": true
10+
}
11+
},
12+
"env": {
13+
"es6": true,
14+
"amd": true,
15+
"node": true,
16+
"mocha": true,
17+
"worker": true,
18+
"jquery": true,
19+
"browser": true,
20+
"commonjs": true,
21+
"serviceworker": true,
22+
"shared-node-browser": true
23+
},
24+
"rules": {
25+
"no-await-in-loop": 2,
26+
"no-compare-neg-zero": 2,
27+
"no-cond-assign": 2,
28+
"no-console": 2,
29+
"no-constant-condition": [
30+
2,
31+
{
32+
"checkLoops": false
33+
}
34+
],
35+
"no-debugger": 2,
36+
"no-dupe-args": 2,
37+
"no-dupe-keys": 2,
38+
"no-duplicate-case": 2,
39+
"no-empty": 1,
40+
"no-empty-character-class": 2,
41+
"no-ex-assign": 2,
42+
"no-extra-boolean-cast": 2,
43+
"no-extra-parens": 2,
44+
"no-extra-semi": 2,
45+
"no-func-assign": 2,
46+
"no-inner-declarations": 2,
47+
"no-invalid-regexp": 2,
48+
"no-irregular-whitespace": 2,
49+
"no-obj-calls": 2,
50+
"no-regex-spaces": 1,
51+
"no-sparse-arrays": 2,
52+
"no-template-curly-in-string": 2,
53+
"no-unexpected-multiline": 2,
54+
"no-unreachable": 2,
55+
"no-unsafe-finally": 2,
56+
"no-unsafe-negation": 2,
57+
"use-isnan": 2,
58+
"valid-jsdoc": [
59+
2,
60+
{
61+
"requireReturn": false
62+
}
63+
],
64+
"valid-typeof": 2,
65+
"accessor-pairs": 1,
66+
"array-callback-return": 1,
67+
"block-scoped-var": 1,
68+
"class-methods-use-this": 0,
69+
"curly": 1,
70+
"default-case": 1,
71+
"dot-location": [
72+
1,
73+
"property"
74+
],
75+
"eqeqeq": [
76+
1,
77+
"smart"
78+
],
79+
"guard-for-in": 1,
80+
"no-alert": 2,
81+
"no-caller": 1,
82+
"no-div-regex": 1,
83+
"no-else-return": 1,
84+
"no-empty-function": 1,
85+
"no-empty-pattern": 1,
86+
"no-eq-null": 1,
87+
"no-eval": 2,
88+
"no-extend-native": 2,
89+
"no-extra-bind": 1,
90+
"no-extra-label": 1,
91+
"no-fallthrough": 1,
92+
"no-floating-decimal": 1,
93+
"no-global-assign": 2,
94+
"no-implicit-coercion": 1,
95+
"no-implied-eval": 2,
96+
"no-invalid-this": 1,
97+
"no-iterator": 2,
98+
"no-labels": 1,
99+
"no-lone-blocks": 1,
100+
"no-loop-func": 2,
101+
"no-multi-spaces": 1,
102+
"no-multi-str": 1,
103+
"no-new-func": 2,
104+
"no-new-wrappers": 1,
105+
"no-octal": 1,
106+
"no-octal-escape": 1,
107+
"no-param-reassign": 1,
108+
"no-proto": 1,
109+
"no-redeclare": 1,
110+
"no-return-assign": 1,
111+
"no-return-await": 1,
112+
"no-script-url": 2,
113+
"no-self-assign": 1,
114+
"no-self-compare": 1,
115+
"no-sequences": 1,
116+
"no-throw-literal": 1,
117+
"no-unmodified-loop-condition": 1,
118+
"no-unused-expressions": 0,
119+
"no-unused-labels": 1,
120+
"no-useless-call": 1,
121+
"no-useless-concat": 1,
122+
"no-useless-escape": 1,
123+
"no-useless-return": 1,
124+
"no-void": 1,
125+
"no-with": 2,
126+
"prefer-promise-reject-errors": 1,
127+
"require-await": 2,
128+
"vars-on-top": 1,
129+
"wrap-iife": [
130+
1,
131+
"any"
132+
],
133+
"yoda": 2,
134+
"strict": 2,
135+
"no-catch-shadow": 2,
136+
"no-delete-var": 2,
137+
"no-label-var": 2,
138+
"no-shadow": 2,
139+
"no-shadow-restricted-names": 2,
140+
"no-undef": 2,
141+
"no-undef-init": 2,
142+
"no-undefined": 2,
143+
"no-unused-vars": 2,
144+
"no-use-before-define": 2,
145+
"callback-return": 2,
146+
"global-require": 1,
147+
"handle-callback-err": 1,
148+
"no-mixed-requires": [
149+
1,
150+
{
151+
"allowCall": true
152+
}
153+
],
154+
"no-new-require": 2,
155+
"no-path-concat": 2,
156+
"no-process-env": 2,
157+
"no-process-exit": 2,
158+
"array-bracket-spacing": 1,
159+
"block-spacing": 1,
160+
"brace-style": 1,
161+
"camelcase": 1,
162+
"capitalized-comments": 0,
163+
"comma-dangle": 1,
164+
"comma-spacing": 1,
165+
"comma-style": 1,
166+
"computed-property-spacing": 1,
167+
"consistent-this": [
168+
1,
169+
"that",
170+
"self"
171+
],
172+
"eol-last": 1,
173+
"func-call-spacing": 1,
174+
"func-names": 1,
175+
"indent": [
176+
1,
177+
2,
178+
{
179+
"SwitchCase": 1
180+
}
181+
],
182+
"key-spacing": 1,
183+
"keyword-spacing": 1,
184+
"linebreak-style": 1,
185+
"lines-around-comment": 1,
186+
"new-cap": 0,
187+
"new-parens": 1,
188+
"no-array-constructor": 1,
189+
"no-continue": 1,
190+
"no-inline-comments": 1,
191+
"no-mixed-spaces-and-tabs": 2,
192+
"no-multi-assign": 1,
193+
"no-multiple-empty-lines": 1,
194+
"no-negated-condition": 0,
195+
"no-nested-ternary": 2,
196+
"no-new-object": 1,
197+
"no-tabs": 2,
198+
"no-trailing-spaces": 1,
199+
"no-unneeded-ternary": 1,
200+
"no-whitespace-before-property": 1,
201+
"object-curly-spacing": 0,
202+
"object-property-newline": [
203+
1,
204+
{
205+
"allowMultiplePropertiesPerLine": true
206+
}
207+
],
208+
"one-var": [
209+
1,
210+
"never"
211+
],
212+
"operator-assignment": 1,
213+
"operator-linebreak": 1,
214+
"padded-blocks": 0,
215+
"quotes": [
216+
1,
217+
"single"
218+
],
219+
"require-jsdoc": 2,
220+
"semi": 1,
221+
"semi-spacing": 1,
222+
"space-before-blocks": 1,
223+
"space-before-function-paren": [
224+
1,
225+
"never"
226+
],
227+
"space-in-parens": 1,
228+
"space-infix-ops": 1,
229+
"space-unary-ops": [
230+
1,
231+
{
232+
"words": true,
233+
"nonwords": false
234+
}
235+
],
236+
"spaced-comment": [
237+
1,
238+
"always"
239+
],
240+
"wrap-regex": 1,
241+
"arrow-body-style": 1,
242+
"arrow-parens": 0,
243+
"arrow-spacing": 1,
244+
"constructor-super": 2,
245+
"generator-star-spacing": 1,
246+
"no-class-assign": 2,
247+
"no-confusing-arrow": 2,
248+
"no-const-assign": 2,
249+
"no-dupe-class-members": 2,
250+
"no-duplicate-imports": 2,
251+
"no-new-symbol": 1,
252+
"no-this-before-super": 2,
253+
"no-useless-computed-key": 1,
254+
"no-useless-constructor": 1,
255+
"no-useless-rename": 1,
256+
"no-var": 1,
257+
"prefer-const": 1,
258+
"prefer-destructuring": 1,
259+
"prefer-spread": 1,
260+
"prefer-template": 1,
261+
"require-yield": 2,
262+
"rest-spread-spacing": 1,
263+
"symbol-description": 2,
264+
"template-curly-spacing": 1,
265+
"yield-star-spacing": 1
266+
}
267+
}

examples/basic-polyfill/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# JUNK FILES
2+
.cache
3+
.DS_Store
4+
5+
# FRONT FOLDERS
6+
node_modules/

examples/basic-polyfill/.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# JUNK FILES
2+
.cache
3+
.DS_Store
4+
5+
# FRONT FOLDERS
6+
node_modules/
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<title>Home - Basic Polyfill</title>
8+
</head>
9+
<body>
10+
<nav>
11+
<ul>
12+
<li><a href="./">Home</a></li>
13+
<li><a href="./page.html">Page</a></li>
14+
</ul>
15+
</nav>
16+
<main router-wrapper>
17+
<article router-view="home">
18+
<h1>Home</h1>
19+
<p>Welcome on your website!</p>
20+
</article>
21+
</main>
22+
<script type="application/javascript" src="./index.js"></script>
23+
</body>
24+
</html>

0 commit comments

Comments
 (0)