Skip to content

Commit e1a5986

Browse files
authored
fix: remove polyfill.io (#436)
Closes Caleydo/tdp_bi_bioinfodb#1461
1 parent fafd114 commit e1a5986

4 files changed

Lines changed: 36 additions & 64 deletions

File tree

‎dist/index.template.ejs‎

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/templates/index.html‎

Lines changed: 9 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/index.template.ejs‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<!doctype html>
22
<html>
3-
<head>
4-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
3+
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
55
<title>Ordino</title>
6-
<meta name="description" content="">
7-
<link rel="icon" href="<%=require('tdp_core/dist/assets/favicon.png')%>"><%=require('tdp_core/dist/template/_head.html')%>
8-
</head>
9-
<body>
10-
11-
<%=require('tdp_core/dist/template/_body.html')%>
12-
13-
</body>
6+
<meta charset="utf-8" />
7+
<meta name="viewport" content="width=device-width" />
8+
<meta name="description" content="" />
9+
<link rel="icon" href="<%=require('tdp_core/dist/assets/favicon.png')%>" />
10+
</head>
11+
<body>
12+
</body>
1413
</html>

‎src/templates/index.html‎

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
<!doctype html>
22
<html>
3-
<head>
4-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
3+
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
55
<title>Ordino</title>
6-
<meta name="description" content="">
7-
<link rel="icon" href="${require('tdp_core/dist/assets/favicon.png')}">
8-
<meta charset='utf-8'>
9-
<meta name="viewport" content="width=device-width">
10-
<script src="https://cdn.polyfill.io/v3/polyfill.min.js"></script>
11-
</head>
12-
<body>
13-
14-
<script>
15-
(function () {
16-
var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
17-
var isFirefox = /Firefox/.test(navigator.userAgent);
18-
if (!isChrome && !isFirefox) {
19-
alert('This application was designed to be used in Google Chrome and Mozilla Firefox and does not work in Internet Explorer. Running the application in other browsers might result in performance issues or other misbehavior.');
20-
}
21-
})();
22-
</script>
23-
24-
25-
</body>
6+
<meta name="description" content="" />
7+
<link rel="icon" href="${require('tdp_core/dist/assets/favicon.png')}" />
8+
<meta charset="utf-8" />
9+
<meta name="viewport" content="width=device-width" />
10+
</head>
11+
<body>
12+
</body>
2613
</html>

0 commit comments

Comments
 (0)