Use Modernizr to check for browser compatibility
Add a CompatibilityPage which is shown for incompatible clients. If they continue on regardless, proceed as if it never happened.
This commit is contained in:
parent
4175dcd102
commit
59d8cbe742
6 changed files with 150 additions and 6 deletions
|
@ -11,6 +11,7 @@
|
|||
"style": "bundle.css",
|
||||
"scripts": {
|
||||
"reskindex": "reskindex vector -h src/skins/vector/header",
|
||||
"build:modernizr": "modernizr -c .modernizr.json -d src/vector/modernizr.js",
|
||||
"build:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/bundle.css -c uglifycss --no-watch",
|
||||
"build:compile": "babel --source-maps -d lib src",
|
||||
"build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js",
|
||||
|
@ -29,6 +30,7 @@
|
|||
"linkifyjs": "^2.0.0-beta.4",
|
||||
"matrix-js-sdk": "^0.2.2",
|
||||
"matrix-react-sdk": "^0.0.1",
|
||||
"modernizr": "^3.1.0",
|
||||
"q": "^1.4.1",
|
||||
"react": "^0.13.3",
|
||||
"react-loader": "^1.4.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue