Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix WS-2018-0076 and WS-2019-0063. Move notification to bottom left.
- Loading branch information
Showing
19 changed files
with
4,178 additions
and
3,886 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<!-- apple touch icons --> | ||
<%= tag("link", rel: "apple-touch-icon", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "57x57", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-57x57.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "72x72", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-72x72.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "76x76", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-76x76.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "114x114", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-114x114.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "120x120", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-120x120.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "144x144", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-144x144.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "152x152", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-152x152.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "180x180", href: asset_pack_path('images/apple-touch-icons/apple-touch-icon-180x180.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "57x57", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-57x57.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "72x72", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-72x72.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "76x76", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-76x76.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "114x114", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-114x114.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "120x120", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-120x120.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "144x144", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-144x144.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "152x152", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-152x152.png')) %> | ||
<%= tag("link", rel: "apple-touch-icon", sizes: "180x180", href: asset_pack_path('media/images/apple-touch-icons/apple-touch-icon-180x180.png')) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
module.exports = function(api) { | ||
var validEnv = ['development', 'test', 'production'] | ||
var currentEnv = api.env() | ||
var isDevelopmentEnv = api.env('development') | ||
var isProductionEnv = api.env('production') | ||
var isTestEnv = api.env('test') | ||
|
||
if (!validEnv.includes(currentEnv)) { | ||
throw new Error( | ||
'Please specify a valid `NODE_ENV` or ' + | ||
'`BABEL_ENV` environment variables. Valid values are "development", ' + | ||
'"test", and "production". Instead, received: ' + | ||
JSON.stringify(currentEnv) + | ||
'.' | ||
) | ||
} | ||
|
||
return { | ||
presets: [ | ||
isTestEnv && [ | ||
require('@babel/preset-env').default, | ||
{ | ||
targets: { | ||
node: 'current' | ||
} | ||
} | ||
], | ||
(isProductionEnv || isDevelopmentEnv) && [ | ||
require('@babel/preset-env').default, | ||
{ | ||
forceAllTransforms: true, | ||
useBuiltIns: 'entry', | ||
corejs: 3, | ||
modules: false, | ||
exclude: ['transform-typeof-symbol'] | ||
} | ||
] | ||
].filter(Boolean), | ||
plugins: [ | ||
// from ./babelrc (previous webpacker) | ||
// require('syntax-dynamic-import'), | ||
// require('transform-object-rest-spread'), | ||
// original | ||
require('babel-plugin-macros'), | ||
require('@babel/plugin-syntax-dynamic-import').default, | ||
isTestEnv && require('babel-plugin-dynamic-import-node'), | ||
require('@babel/plugin-transform-destructuring').default, | ||
[ | ||
require('@babel/plugin-proposal-class-properties').default, | ||
{ | ||
loose: true | ||
} | ||
], | ||
[ | ||
require('@babel/plugin-proposal-object-rest-spread').default, | ||
{ | ||
useBuiltIns: true | ||
} | ||
], | ||
[ | ||
require('@babel/plugin-transform-runtime').default, | ||
{ | ||
helpers: false, | ||
regenerator: true, | ||
corejs: false | ||
} | ||
], | ||
[ | ||
require('@babel/plugin-transform-regenerator').default, | ||
{ | ||
async: false | ||
} | ||
] | ||
].filter(Boolean) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
plugins: [ | ||
require('postcss-import'), | ||
require('postcss-flexbugs-fixes'), | ||
require('postcss-preset-env')({ | ||
autoprefixer: { | ||
flexbox: 'no-2009' | ||
}, | ||
stage: 3 | ||
}) | ||
] | ||
} |
Oops, something went wrong.