Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,17 @@
</head>
<body>
<div id="app"></div>
<script async>
var el = document.createElement('div')
el.style.width = '100vw'
if (el.style.width !== '100vw') {
var msg = [
'Sorry, this browser is not supported by WEBXOSS :(',
'For Android <= 4.3, please download Google Chrome.',
'For iOS <= 7, please update your system.',
].join('\n')
window.alert(msg)
}
</script>
</body>
</html>
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ const TESTS = {
}
let browsers = [
'last 2 versions',
'ie >= 10',
'ie >= 11',
'Firefox ESR',
'Android >= 4.3',
'Android >= 4.4',
'iOS >= 8',
'last 2 ChromeAndroid versions',
].join(', ')
Expand Down