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',
|
||||
output: {
|
||||
format: 'iife',
|
||||
file: 'src/editor/xdomain-svgedit-config-iife.js'
|
||||
file: 'src/xdomain-svgedit-config-iife.js'
|
||||
},
|
||||
plugins
|
||||
}
|
||||
|
|
|
@ -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/'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue