fix the folder for svg-editor.html
parent
90a4d721b8
commit
b558290164
|
@ -47,7 +47,7 @@ export default [
|
||||||
input: 'src/editor/xdomain-svgedit-config-es.js',
|
input: 'src/editor/xdomain-svgedit-config-es.js',
|
||||||
output: {
|
output: {
|
||||||
format: 'iife',
|
format: 'iife',
|
||||||
file: 'src/editor/xdomain-svgedit-config-iife.js'
|
file: 'src/xdomain-svgedit-config-iife.js'
|
||||||
},
|
},
|
||||||
plugins
|
plugins
|
||||||
}
|
}
|
||||||
|
|
|
@ -675,10 +675,10 @@ editor.init = function () {
|
||||||
window.svgEditor.modules !== false;
|
window.svgEditor.modules !== false;
|
||||||
if (!modularVersion) {
|
if (!modularVersion) {
|
||||||
Object.assign(defaultConfig, {
|
Object.assign(defaultConfig, {
|
||||||
langPath: '../dist/locale/',
|
langPath: '../../dist/locale/',
|
||||||
extPath: '../dist/extensions/',
|
extPath: '../../dist/extensions/',
|
||||||
canvgPath: '../dist/',
|
canvgPath: '../../dist/',
|
||||||
jspdfPath: '../dist/'
|
jspdfPath: '../../dist/'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3875,7 +3875,7 @@
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var elem = elementContainer_.getElement(val);
|
var elem = elementContainer_.getElement(val);
|
||||||
result = isNullish(elem) || elem === selectedElement;
|
result = !elem || elem === selectedElement;
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
@ -4042,7 +4042,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var transformListToTransform = function transformListToTransform(tlist, min, max) {
|
var transformListToTransform = function transformListToTransform(tlist, min, max) {
|
||||||
if (isNullish(tlist)) {
|
if (!tlist) {
|
||||||
// Or should tlist = null have been prevented before this?
|
// Or should tlist = null have been prevented before this?
|
||||||
return svg$1.createSVGTransformFromMatrix(svg$1.createSVGMatrix());
|
return svg$1.createSVGTransformFromMatrix(svg$1.createSVGMatrix());
|
||||||
}
|
}
|
||||||
|
@ -29336,10 +29336,10 @@
|
||||||
|
|
||||||
if (!modularVersion) {
|
if (!modularVersion) {
|
||||||
Object.assign(defaultConfig, {
|
Object.assign(defaultConfig, {
|
||||||
langPath: '../dist/locale/',
|
langPath: '../../dist/locale/',
|
||||||
extPath: '../dist/extensions/',
|
extPath: '../../dist/extensions/',
|
||||||
canvgPath: '../dist/',
|
canvgPath: '../../dist/',
|
||||||
jspdfPath: '../dist/'
|
jspdfPath: '../../dist/'
|
||||||
});
|
});
|
||||||
} // const host = location.hostname,
|
} // const host = location.hostname,
|
||||||
// onWeb = host && host.includes('.');
|
// onWeb = host && host.includes('.');
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue