changeset 2208:0aee7913a866

reduce support for ie7 and ie8; ie7 cannot save user settings, ie8 cannot view svg images, close #265
author RogerHaase
date Wed, 02 Oct 2013 15:22:08 -0700
parents 96abee43bb39
children 88ec5e5d18aa
files MoinMoin/templates/base.html setup.py wikiconfig.py
diffstat 3 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/base.html	Wed Oct 02 09:56:39 2013 -0700
+++ b/MoinMoin/templates/base.html	Wed Oct 02 15:22:08 2013 -0700
@@ -49,7 +49,7 @@
     {% block icons_stylesheet %}
     <link rel="stylesheet" href="{{ url_for('serve.files', name='font_awesome', filename='css/font-awesome.css') }}" />
     {% endblock %}
-    
+
     <link rel="shortcut icon" href="{{ url_for('static', filename='logos/favicon.ico') }}" />
 
     {% block theme_stylesheets %}
@@ -76,9 +76,6 @@
 </div>
 
 {% block body_scripts %} {# js before </body> reduces IE8 js errors related to svgweb #}
-    <!--[if IE 8]>
-        <script src="{{ url_for('serve.files', name='svgweb', filename='svg.js') }}"></script>
-    <![endif]-->
     <script src="{{ url_for('serve.files', name='jquery', filename='jquery.min.js') }}"></script>
     <script src="{{ url_for('serve.files', name='bootstrap', filename='js/bootstrap.min.js') }}"></script>
     <script src="{{ url_for('frontend.template', filename='common.js') }}"></script>
@@ -87,10 +84,6 @@
         {# TODO: use a local copy later #}
         <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
     <![endif]-->
-    <!--[if lt IE 8]>
-        {# required to save user settings with IE7 and earlier #}
-        <script src="{{ url_for('serve.files', name='json_js', filename='json2.js') }}"></script>
-    <![endif]-->
 {% endblock %}
 
 </body>
--- a/setup.py	Wed Oct 02 09:56:39 2013 -0700
+++ b/setup.py	Wed Oct 02 15:22:08 2013 -0700
@@ -111,8 +111,6 @@
         'XStatic-CKEditor>=3.6.1.2',
         'XStatic-jQuery>=1.8.2',
         'XStatic-jQuery-File-Upload>=4.4.2',
-        'XStatic-JSON-js>=0.0.0.40f3377a63.1',
-        'XStatic-svgweb>=2011.2.3.2',
         'XStatic-TWikiDraw-moin>=2004.10.23.2',
         'XStatic-AnyWikiDraw>=0.14.2',
         'XStatic-svg-edit-moin>=2012.11.15.1',
--- a/wikiconfig.py	Wed Oct 02 09:56:39 2013 -0700
+++ b/wikiconfig.py	Wed Oct 02 15:22:08 2013 -0700
@@ -65,11 +65,9 @@
     # names below must be package names
     mod_names = [
         'jquery', 'jquery_file_upload',
-        'json_js',
         'bootstrap',
         'font_awesome',
         'ckeditor',
-        'svgweb',
         'svgedit_moin', 'twikidraw_moin', 'anywikidraw',
     ]
     pkg = __import__('xstatic.pkg', fromlist=mod_names)