You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by za...@apache.org on 2021/06/04 09:31:13 UTC
[calcite] branch site updated: Site: Remove nowadays redundant
minified javascript files
This is an automated email from the ASF dual-hosted git repository.
zabetak pushed a commit to branch site
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/site by this push:
new f10817c Site: Remove nowadays redundant minified javascript files
f10817c is described below
commit f10817c71325d961b959ec9047622c2bc06c2107
Author: Stamatis Zampetakis <za...@gmail.com>
AuthorDate: Fri Jun 4 11:17:15 2021 +0200
Site: Remove nowadays redundant minified javascript files
Remove html5shiv.min.js/respond.min.js
The scripts ensure compatibility with old web browsers such as IE9.
However, most (if not all) of these browsers are not used nowadays
cause they are very old thus there is no need to use these scripts.
---
site/_includes/top.html | 4 ----
site/js/html5shiv.min.js | 4 ----
site/js/respond.min.js | 5 -----
3 files changed, 13 deletions(-)
diff --git a/site/_includes/top.html b/site/_includes/top.html
index 6eab814..2776ddd 100644
--- a/site/_includes/top.html
+++ b/site/_includes/top.html
@@ -8,8 +8,4 @@
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="{{ site.baseurl }}/css/screen.css">
<link rel="icon" type="image/x-icon" href="{{ site.baseurl }}/favicon.ico">
- <!--[if lt IE 9]>
- <script src="/js/html5shiv.min.js"></script>
- <script src="/js/respond.min.js"></script>
- <![endif]-->
</head>
diff --git a/site/js/html5shiv.min.js b/site/js/html5shiv.min.js
deleted file mode 100644
index d4c731a..0000000
--- a/site/js/html5shiv.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
-* @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
-*/
-!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l [...]
\ No newline at end of file
diff --git a/site/js/respond.min.js b/site/js/respond.min.js
deleted file mode 100644
index 80a7b69..0000000
--- a/site/js/respond.min.js
+++ /dev/null
@@ -1,5 +0,0 @@
-/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
- * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
- * */
-
-!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),funct [...]
\ No newline at end of file