fix the folder for svg-editor.html

master
JFH 2020-08-03 18:12:52 +02:00
parent 90a4d721b8
commit b558290164
4 changed files with 36636 additions and 11 deletions

View File

@ -47,7 +47,7 @@ export default [
input: 'src/editor/xdomain-svgedit-config-es.js',
output: {
format: 'iife',
file: 'src/editor/xdomain-svgedit-config-iife.js'
file: 'src/xdomain-svgedit-config-iife.js'
},
plugins
}

View File

@ -675,10 +675,10 @@ editor.init = function () {
window.svgEditor.modules !== false;
if (!modularVersion) {
Object.assign(defaultConfig, {
langPath: '../dist/locale/',
extPath: '../dist/extensions/',
canvgPath: '../dist/',
jspdfPath: '../dist/'
langPath: '../../dist/locale/',
extPath: '../../dist/extensions/',
canvgPath: '../../dist/',
jspdfPath: '../../dist/'
});
}

View File

@ -3875,7 +3875,7 @@
try {
var elem = elementContainer_.getElement(val);
result = isNullish(elem) || elem === selectedElement;
result = !elem || elem === selectedElement;
} catch (e) {}
return result;
@ -4042,7 +4042,7 @@
*/
var transformListToTransform = function transformListToTransform(tlist, min, max) {
if (isNullish(tlist)) {
if (!tlist) {
// Or should tlist = null have been prevented before this?
return svg$1.createSVGTransformFromMatrix(svg$1.createSVGMatrix());
}
@ -29336,10 +29336,10 @@
if (!modularVersion) {
Object.assign(defaultConfig, {
langPath: '../dist/locale/',
extPath: '../dist/extensions/',
canvgPath: '../dist/',
jspdfPath: '../dist/'
langPath: '../../dist/locale/',
extPath: '../../dist/extensions/',
canvgPath: '../../dist/',
jspdfPath: '../../dist/'
});
} // const host = location.hostname,
// onWeb = host && host.includes('.');

File diff suppressed because one or more lines are too long