- Breaking change: Switch from deprecated @babel/polyfill to

`core-js-bundle` and `regenerator-runtime` replacements
- Fix: Fully redirect extension entrances for lacking browser support
- Docs: Simplify comments in HTML files re: script purposes
- Docs: Update release instructions
- npm: Update devDeps (jsdoc, security audit)
- npm: Bump to 5.0.0
This commit is contained in:
Brett Zamir
2019-05-06 12:32:49 +08:00
parent 0f4b739143
commit fc0c53f61a
20 changed files with 1017 additions and 7332 deletions

View File

@@ -2,32 +2,37 @@
<!-- AUTO-GENERATED FROM svg-editor-es.html; DO NOT EDIT; use build-html.js to build -->
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- STYLESHEETS (others loaded dynamically) -->
<style id="styleoverrides" media="screen"></style>
<!-- SCRIPTS -->
<!-- As yet no ES6 Module support -->
<!--{if jquery_release}>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!{else}-->
<script src="jquery.min.js"></script>
<!--{endif}-->
<!-- Lacking browser support -->
<!-- We keep this next module external to avoid the need to
load further scripts if not supported -->
<script defer="defer" src="../dist/redirect-on-lacking-support.js"></script>
<!-- always minified scripts -->
<!-- As yet no ES6 Module support -->
<script src="jquery-ui/jquery-ui-1.8.17.custom.min.js"></script>
<!-- The following could be removed for more modern browsers -->
<!-- Browser polyfills -->
<script src="../dist/dom-polyfill.js"></script>
<!-- The following could be removed for more modern browsers; currently
using for at least `String.prototype.includes`, `Array.prototype.includes`,
`String.prototype.startsWith` -->
<script src="external/@babel/polyfill/polyfill.min.js"></script>
<!-- ES6+ polyfills (Babel) -->
<script src="external/core-js-bundle/minified.js"></script>
<script src="external/regenerator-runtime/runtime.js"></script>
<!-- If you do not wish to add extensions by URL, you can add calls
within the following file to svgEditor.setConfig -->
<script defer="defer" src="../svgedit-config-iife.js"></script>
@@ -39,6 +44,7 @@
<link rel="alternate" type="application/atom+xml"
title="SVG-edit Updates (Commits)"
href="https://github.com/SVG-Edit/svgedit/commits/master.atom"/>
<title>SVG-edit</title>
</head>
<body>