Upgrade JointJs to 3.4.1

This commit is contained in:
BoykoAlex
2021-08-31 17:07:53 -04:00
parent 1cf72f9f4b
commit 8b9808dd13
3 changed files with 8 additions and 36807 deletions

36799
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -37,7 +37,7 @@
"dependencies": {
"@types/resize-observer-browser": "^0.1.3",
"codemirror-minified": "5.54.0",
"jointjs": "3.2.0",
"jointjs": "3.4.1",
"ts-disposables": "2.2.3"
},
"devDependencies": {

View File

@@ -33,13 +33,13 @@ export function loadShapes() {
joint.shapes.flo.HANDLE_TYPE = 'handle';
joint.util.cloneDeep = (obj: any) => {
return _.cloneDeepWith(obj, (o) => {
if (_.isObject(o) && !_.isPlainObject(o)) {
return o;
}
});
};
// joint.util.cloneDeep = (obj: any) => {
// return _.cloneDeepWith(obj, (o) => {
// if (_.isObject(o) && !_.isPlainObject(o)) {
// return o;
// }
// });
// };
joint.util.filter.redscale = (args: Shapes.FilterOptions) => {