move svg-edit-config to src
parent
577673fa0a
commit
b53e37b240
|
@ -7,8 +7,8 @@ dist
|
||||||
docs/jsdoc
|
docs/jsdoc
|
||||||
archive
|
archive
|
||||||
|
|
||||||
svgedit-config-es.js
|
src/svgedit-config-es.js
|
||||||
svgedit-config-iife.js
|
src/svgedit-config-iife.js
|
||||||
svgedit-custom.css
|
svgedit-custom.css
|
||||||
src/editor/xdomain-svgedit-config-iife.js
|
src/editor/xdomain-svgedit-config-iife.js
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ const filesAndReplacements = [
|
||||||
output: 'src/editor/xdomain-svg-editor-es.html',
|
output: 'src/editor/xdomain-svg-editor-es.html',
|
||||||
replacements: [
|
replacements: [
|
||||||
[
|
[
|
||||||
'<script type="module" src="../../svgedit-config-es.js"></script>',
|
'<script type="module" src="../svgedit-config-es.js"></script>',
|
||||||
'<script type="module" src="xdomain-svgedit-config-es.js"></script>'
|
'<script type="module" src="xdomain-svgedit-config-es.js"></script>'
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@ -65,8 +65,8 @@ const filesAndReplacements = [
|
||||||
'<script defer="defer" src="../../dist/redirect-on-lacking-support.js"></script>'
|
'<script defer="defer" src="../../dist/redirect-on-lacking-support.js"></script>'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'<script type="module" src="../../svgedit-config-es.js"></script>',
|
'<script type="module" src="../svgedit-config-es.js"></script>',
|
||||||
'<script defer="defer" src="../../svgedit-config-iife.js"></script>'
|
'<script defer="defer" src="../svgedit-config-iife.js"></script>'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'<script src="../external/dom-polyfill/dom-polyfill.js"></script>',
|
'<script src="../external/dom-polyfill/dom-polyfill.js"></script>',
|
||||||
|
|
2
lgtm.yml
2
lgtm.yml
|
@ -4,5 +4,5 @@ extraction:
|
||||||
filters:
|
filters:
|
||||||
- exclude: "src/editor/xdomain-svgedit-config-iife.js"
|
- exclude: "src/editor/xdomain-svgedit-config-iife.js"
|
||||||
- exclude: "src/editor/redirect-on-no-module-support.js"
|
- exclude: "src/editor/redirect-on-no-module-support.js"
|
||||||
- exclude: "svgedit-config-iife.js"
|
- exclude: "src/svgedit-config-iife.js"
|
||||||
- exclude: "dist"
|
- exclude: "dist"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
<!-- If you do not wish to add extensions by URL, you can add calls
|
<!-- If you do not wish to add extensions by URL, you can add calls
|
||||||
within the following file to svgEditor.setConfig -->
|
within the following file to svgEditor.setConfig -->
|
||||||
<script type="module" src="../../svgedit-config-es.js"></script>
|
<script type="module" src="../svgedit-config-es.js"></script>
|
||||||
|
|
||||||
<!-- FEEDS -->
|
<!-- FEEDS -->
|
||||||
<link rel="alternate" type="application/atom+xml"
|
<link rel="alternate" type="application/atom+xml"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
<!-- If you do not wish to add extensions by URL, you can add calls
|
<!-- If you do not wish to add extensions by URL, you can add calls
|
||||||
within the following file to svgEditor.setConfig -->
|
within the following file to svgEditor.setConfig -->
|
||||||
<script defer="defer" src="../../svgedit-config-iife.js"></script>
|
<script defer="defer" src="../svgedit-config-iife.js"></script>
|
||||||
|
|
||||||
<!-- FEEDS -->
|
<!-- FEEDS -->
|
||||||
<link rel="alternate" type="application/atom+xml"
|
<link rel="alternate" type="application/atom+xml"
|
||||||
|
|
|
@ -18,7 +18,7 @@ For default config and extensions (and available options) available to
|
||||||
`setConfig()`, see the file `docs/tutorials/ConfigOptions.md`
|
`setConfig()`, see the file `docs/tutorials/ConfigOptions.md`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import svgEditor from './src/editor/svg-editor.js';
|
import svgEditor from './editor/svg-editor.js';
|
||||||
|
|
||||||
// URL OVERRIDE CONFIG
|
// URL OVERRIDE CONFIG
|
||||||
svgEditor.setConfig({
|
svgEditor.setConfig({
|
Loading…
Reference in New Issue