Skip to content

Commit

Permalink
fix: remove polyfill.io (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkh authored Feb 29, 2024
1 parent fafd114 commit e1a5986
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 64 deletions.
19 changes: 9 additions & 10 deletions dist/index.template.ejs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 9 additions & 22 deletions dist/templates/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions src/index.template.ejs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Ordino</title>
<meta name="description" content="">
<link rel="icon" href="<%=require('tdp_core/dist/assets/favicon.png')%>"><%=require('tdp_core/dist/template/_head.html')%>
</head>
<body>

<%=require('tdp_core/dist/template/_body.html')%>

</body>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="description" content="" />
<link rel="icon" href="<%=require('tdp_core/dist/assets/favicon.png')%>" />
</head>
<body>
</body>
</html>
31 changes: 9 additions & 22 deletions src/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,13 @@
<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Ordino</title>
<meta name="description" content="">
<link rel="icon" href="${require('tdp_core/dist/assets/favicon.png')}">
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width">
<script src="https://cdn.polyfill.io/v3/polyfill.min.js"></script>
</head>
<body>

<script>
(function () {
var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
var isFirefox = /Firefox/.test(navigator.userAgent);
if (!isChrome && !isFirefox) {
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.');
}
})();
</script>


</body>
<meta name="description" content="" />
<link rel="icon" href="${require('tdp_core/dist/assets/favicon.png')}" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
</head>
<body>
</body>
</html>

0 comments on commit e1a5986

Please sign in to comment.