- Build: Update

This commit is contained in:
Brett Zamir
2020-08-04 09:07:09 +08:00
parent 47df565b57
commit 12d438afa0
9 changed files with 272 additions and 272 deletions

12
dist/index-es.js vendored
View File

@@ -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('.');