Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove polyfill.io #436

Merged
merged 1 commit into from
Feb 29, 2024
Merged
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
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>
Loading