- Build: Update
This commit is contained in:
12
dist/index-es.js
vendored
12
dist/index-es.js
vendored
@@ -3872,7 +3872,7 @@ var isValidUnit = function isValidUnit(attr, val, selectedElement) {
|
||||
|
||||
try {
|
||||
var elem = elementContainer_.getElement(val);
|
||||
result = isNullish(elem) || elem === selectedElement;
|
||||
result = !elem || elem === selectedElement;
|
||||
} catch (e) {}
|
||||
|
||||
return result;
|
||||
@@ -4039,7 +4039,7 @@ var transformBox = function transformBox(l, t, w, h, m) {
|
||||
*/
|
||||
|
||||
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());
|
||||
}
|
||||
@@ -29333,10 +29333,10 @@ editor.init = function () {
|
||||
|
||||
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('.');
|
||||
|
||||
Reference in New Issue
Block a user