You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2022/06/16 16:35:55 UTC

[airflow] branch main updated: Remove internet explorer support (#24495)

This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 05cc5ff737 Remove internet explorer support (#24495)
05cc5ff737 is described below

commit 05cc5ff73788dc9f1974df772f683020523092aa
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Thu Jun 16 12:35:44 2022 -0400

    Remove internet explorer support (#24495)
    
    * remove internet explorer support
    
    * remove from webpack
---
 airflow/www/static/js/ie.js             | 22 ----------------------
 airflow/www/templates/airflow/main.html |  3 ---
 airflow/www/webpack.config.js           |  1 -
 3 files changed, 26 deletions(-)

diff --git a/airflow/www/static/js/ie.js b/airflow/www/static/js/ie.js
deleted file mode 100644
index 507e9fb304..0000000000
--- a/airflow/www/static/js/ie.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/**
- * Internet Explore only scripts
- */
-import 'url-search-params-polyfill';
diff --git a/airflow/www/templates/airflow/main.html b/airflow/www/templates/airflow/main.html
index 94a5d4f77a..ffebe05c00 100644
--- a/airflow/www/templates/airflow/main.html
+++ b/airflow/www/templates/airflow/main.html
@@ -119,9 +119,6 @@
     var csrfToken = '{{ csrf_token() }}';
     $('time[title]').tooltip();
   </script>
-  <!--[if IE ]>
-  <script src="{{ url_for_asset('ie.js') }}"></script>
-  <![endif]-->
   <script src="{{ url_for_asset('moment.js') }}"></script>
   <script src="{{ url_for_asset('main.js') }}"></script>
   <script src="{{ url_for_asset('bootstrap-datetimepicker.min.js') }}"></script>
diff --git a/airflow/www/webpack.config.js b/airflow/www/webpack.config.js
index bb26d630fe..9fc9252f30 100644
--- a/airflow/www/webpack.config.js
+++ b/airflow/www/webpack.config.js
@@ -64,7 +64,6 @@ const config = {
     flash: `${CSS_DIR}/flash.css`,
     gantt: [`${CSS_DIR}/gantt.css`, `${JS_DIR}/gantt.js`],
     graph: [`${CSS_DIR}/graph.css`, `${JS_DIR}/graph.js`],
-    ie: `${JS_DIR}/ie.js`,
     loadingDots: `${CSS_DIR}/loading-dots.css`,
     main: [`${CSS_DIR}/main.css`, `${JS_DIR}/main.js`],
     materialIcons: `${CSS_DIR}/material-icons.css`,