Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
arsnova-click-v2-frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
12
Merge Requests
12
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
arsnova-click-v2-frontend
Commits
f8f48e47
Commit
f8f48e47
authored
Nov 20, 2019
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds required js features to the unsupported check (Dropping MS Browser support for now)
parent
3f2cfc81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
src/app/service/user/user.service.ts
src/app/service/user/user.service.ts
+2
-0
src/assets/static/unsupported.html
src/assets/static/unsupported.html
+5
-1
src/index.html
src/index.html
+3
-0
No files found.
src/app/service/user/user.service.ts
View file @
f8f48e47
...
...
@@ -159,6 +159,8 @@ export class UserService {
}).
toPromise
().
catch
(()
=>
resolve
(
false
));
if
(
!
data
)
{
this
.
isLoggedIn
=
false
;
resolve
(
false
);
return
;
}
...
...
src/assets/static/unsupported.html
View file @
f8f48e47
...
...
@@ -58,6 +58,10 @@
{
label
:
'
Video
'
,
value
:
Modernizr
.
video
,
required
:
false
,
linkRef
:
'
#feat=video
'
},
{
label
:
'
WebSockets
'
,
value
:
Modernizr
.
websockets
,
required
:
true
,
linkRef
:
'
#feat=websockets
'
},
{
label
:
'
XHR-Response
'
,
value
:
Modernizr
.
xhrresponsetype
,
required
:
true
,
linkRef
:
'
#feat=xhr2
'
},
{
label
:
'
Uint8Array
'
,
value
:
'
Uint8Array
'
in
window
,
required
:
true
,
linkRef
:
'
#feat=mdn-javascript_builtins_uint8array
'
},
{
label
:
'
TextEncoder
'
,
value
:
'
TextEncoder
'
in
window
,
required
:
true
,
linkRef
:
'
#feat=textencoder
'
},
{
label
:
'
TextDecoder
'
,
value
:
'
TextDecoder
'
in
window
,
required
:
true
,
linkRef
:
'
#feat=mdn-api_textdecoder
'
},
{
label
:
'
Object.assign
'
,
value
:
'
assign
'
in
Object
,
required
:
false
,
linkRef
:
'
#feat=es6
'
},
]
;
...
...
@@ -89,4 +93,4 @@
src=
"/assets/js/modernizr/modernizr-custom.js"
></script>
</body>
</html>
\ No newline at end of file
</html>
src/index.html
View file @
f8f48e47
...
...
@@ -127,6 +127,9 @@
Modernizr
.
websockets
,
Modernizr
.
xhrresponsetype
,
'
indexedDB
'
in
window
,
'
Uint8Array
'
in
window
,
'
TextEncoder
'
in
window
,
'
TextDecoder
'
in
window
,
].
forEach
(
function
(
test
)
{
if
(
!
test
)
{
location
.
href
=
'
/assets/static/unsupported.html
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment