Skip to content

Commit

Permalink
✨ Release v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Du Pont committed Apr 24, 2018
1 parent 5e1aadb commit f747081
Show file tree
Hide file tree
Showing 21 changed files with 7,134 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ Check out the [**Basic Menu Active**](https://github.com/Dogstudio/highway/tree/
- [**Basic Menu Active**](https://github.com/Dogstudio/highway/tree/master/examples/basic-menu-active)
- [**Basic Anchor**](https://github.com/Dogstudio/highway/tree/master/examples/basic-anchor)
- [**Basic Google Analytics Events**](https://github.com/Dogstudio/highway/tree/master/examples/basic-google-analytics)
- [**Basic Polyfill**](https://github.com/Dogstudio/highway/tree/master/examples/basic-polyfill)

## Support

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

- Add the `Basic Anchor` example
- Add the `Basic Polyfill` example
- Remove **modes** that weren't convincing
- Improve code and weight with ES2016+ features
- Improve events
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-anchor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dogstudio/highway",
"license": "MIT",
"version": "1.3.0",
"version": "1.3.1",
"main": "dist/index.js",
"scripts": {
"build": "webpack",
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-css-transition/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dogstudio/highway",
"license": "MIT",
"version": "1.3.0",
"version": "1.3.1",
"main": "dist/index.js",
"scripts": {
"build": "webpack",
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-google-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dogstudio/highway",
"license": "MIT",
"version": "1.3.0",
"version": "1.3.1",
"main": "dist/index.js",
"scripts": {
"build": "webpack",
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-menu-active/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dogstudio/highway",
"license": "MIT",
"version": "1.3.0",
"version": "1.3.1",
"main": "dist/index.js",
"scripts": {
"build": "webpack",
Expand Down
267 changes: 267 additions & 0 deletions examples/basic-polyfill/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
{
"root": true,
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"globalReturn": true,
"impliedStrict": true
}
},
"env": {
"es6": true,
"amd": true,
"node": true,
"mocha": true,
"worker": true,
"jquery": true,
"browser": true,
"commonjs": true,
"serviceworker": true,
"shared-node-browser": true
},
"rules": {
"no-await-in-loop": 2,
"no-compare-neg-zero": 2,
"no-cond-assign": 2,
"no-console": 2,
"no-constant-condition": [
2,
{
"checkLoops": false
}
],
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 1,
"no-empty-character-class": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-obj-calls": 2,
"no-regex-spaces": 1,
"no-sparse-arrays": 2,
"no-template-curly-in-string": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-unsafe-finally": 2,
"no-unsafe-negation": 2,
"use-isnan": 2,
"valid-jsdoc": [
2,
{
"requireReturn": false
}
],
"valid-typeof": 2,
"accessor-pairs": 1,
"array-callback-return": 1,
"block-scoped-var": 1,
"class-methods-use-this": 0,
"curly": 1,
"default-case": 1,
"dot-location": [
1,
"property"
],
"eqeqeq": [
1,
"smart"
],
"guard-for-in": 1,
"no-alert": 2,
"no-caller": 1,
"no-div-regex": 1,
"no-else-return": 1,
"no-empty-function": 1,
"no-empty-pattern": 1,
"no-eq-null": 1,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 1,
"no-extra-label": 1,
"no-fallthrough": 1,
"no-floating-decimal": 1,
"no-global-assign": 2,
"no-implicit-coercion": 1,
"no-implied-eval": 2,
"no-invalid-this": 1,
"no-iterator": 2,
"no-labels": 1,
"no-lone-blocks": 1,
"no-loop-func": 2,
"no-multi-spaces": 1,
"no-multi-str": 1,
"no-new-func": 2,
"no-new-wrappers": 1,
"no-octal": 1,
"no-octal-escape": 1,
"no-param-reassign": 1,
"no-proto": 1,
"no-redeclare": 1,
"no-return-assign": 1,
"no-return-await": 1,
"no-script-url": 2,
"no-self-assign": 1,
"no-self-compare": 1,
"no-sequences": 1,
"no-throw-literal": 1,
"no-unmodified-loop-condition": 1,
"no-unused-expressions": 0,
"no-unused-labels": 1,
"no-useless-call": 1,
"no-useless-concat": 1,
"no-useless-escape": 1,
"no-useless-return": 1,
"no-void": 1,
"no-with": 2,
"prefer-promise-reject-errors": 1,
"require-await": 2,
"vars-on-top": 1,
"wrap-iife": [
1,
"any"
],
"yoda": 2,
"strict": 2,
"no-catch-shadow": 2,
"no-delete-var": 2,
"no-label-var": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-undef": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-unused-vars": 2,
"no-use-before-define": 2,
"callback-return": 2,
"global-require": 1,
"handle-callback-err": 1,
"no-mixed-requires": [
1,
{
"allowCall": true
}
],
"no-new-require": 2,
"no-path-concat": 2,
"no-process-env": 2,
"no-process-exit": 2,
"array-bracket-spacing": 1,
"block-spacing": 1,
"brace-style": 1,
"camelcase": 1,
"capitalized-comments": 0,
"comma-dangle": 1,
"comma-spacing": 1,
"comma-style": 1,
"computed-property-spacing": 1,
"consistent-this": [
1,
"that",
"self"
],
"eol-last": 1,
"func-call-spacing": 1,
"func-names": 1,
"indent": [
1,
2,
{
"SwitchCase": 1
}
],
"key-spacing": 1,
"keyword-spacing": 1,
"linebreak-style": 1,
"lines-around-comment": 1,
"new-cap": 0,
"new-parens": 1,
"no-array-constructor": 1,
"no-continue": 1,
"no-inline-comments": 1,
"no-mixed-spaces-and-tabs": 2,
"no-multi-assign": 1,
"no-multiple-empty-lines": 1,
"no-negated-condition": 0,
"no-nested-ternary": 2,
"no-new-object": 1,
"no-tabs": 2,
"no-trailing-spaces": 1,
"no-unneeded-ternary": 1,
"no-whitespace-before-property": 1,
"object-curly-spacing": 0,
"object-property-newline": [
1,
{
"allowMultiplePropertiesPerLine": true
}
],
"one-var": [
1,
"never"
],
"operator-assignment": 1,
"operator-linebreak": 1,
"padded-blocks": 0,
"quotes": [
1,
"single"
],
"require-jsdoc": 2,
"semi": 1,
"semi-spacing": 1,
"space-before-blocks": 1,
"space-before-function-paren": [
1,
"never"
],
"space-in-parens": 1,
"space-infix-ops": 1,
"space-unary-ops": [
1,
{
"words": true,
"nonwords": false
}
],
"spaced-comment": [
1,
"always"
],
"wrap-regex": 1,
"arrow-body-style": 1,
"arrow-parens": 0,
"arrow-spacing": 1,
"constructor-super": 2,
"generator-star-spacing": 1,
"no-class-assign": 2,
"no-confusing-arrow": 2,
"no-const-assign": 2,
"no-dupe-class-members": 2,
"no-duplicate-imports": 2,
"no-new-symbol": 1,
"no-this-before-super": 2,
"no-useless-computed-key": 1,
"no-useless-constructor": 1,
"no-useless-rename": 1,
"no-var": 1,
"prefer-const": 1,
"prefer-destructuring": 1,
"prefer-spread": 1,
"prefer-template": 1,
"require-yield": 2,
"rest-spread-spacing": 1,
"symbol-description": 2,
"template-curly-spacing": 1,
"yield-star-spacing": 1
}
}
6 changes: 6 additions & 0 deletions examples/basic-polyfill/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# JUNK FILES
.cache
.DS_Store

# FRONT FOLDERS
node_modules/
6 changes: 6 additions & 0 deletions examples/basic-polyfill/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# JUNK FILES
.cache
.DS_Store

# FRONT FOLDERS
node_modules/
24 changes: 24 additions & 0 deletions examples/basic-polyfill/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Home - Basic Polyfill</title>
</head>
<body>
<nav>
<ul>
<li><a href="./">Home</a></li>
<li><a href="./page.html">Page</a></li>
</ul>
</nav>
<main router-wrapper>
<article router-view="home">
<h1>Home</h1>
<p>Welcome on your website!</p>
</article>
</main>
<script type="application/javascript" src="./index.js"></script>
</body>
</html>
Loading

0 comments on commit f747081

Please sign in to comment.