From 276e04a206c5eaf3cb4007feea0587ef0fbdf861 Mon Sep 17 00:00:00 2001 From: aboyko Date: Thu, 25 Apr 2024 18:04:53 -0400 Subject: [PATCH] Fixes and preparation for 0.13.1 --- projects/flo/editor/editor-utils.ts | 3 ++- projects/flo/package.json | 2 +- projects/flo/styles.scss | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/projects/flo/editor/editor-utils.ts b/projects/flo/editor/editor-utils.ts index 861c79d..1588b79 100644 --- a/projects/flo/editor/editor-utils.ts +++ b/projects/flo/editor/editor-utils.ts @@ -3,6 +3,7 @@ import { Flo } from '../shared/flo-common'; import * as _ from 'lodash'; const joint: any = Flo.joint; import * as _$ from 'jquery'; +import { Event } from 'jquery'; const $: any = _$; @@ -126,7 +127,7 @@ export class Utils { return args.length === 5 && _.isString(args[0]) && (args[0].indexOf('link:') === 0 || args[0].indexOf('element:') === 0) && - args[1] instanceof $.Event && + args[1] instanceof Event && args[2] instanceof joint.dia.CellView && _.isNumber(args[3]) && _.isNumber(args[4]); diff --git a/projects/flo/package.json b/projects/flo/package.json index 70ce3ef..0fcb924 100644 --- a/projects/flo/package.json +++ b/projects/flo/package.json @@ -1,6 +1,6 @@ { "name": "spring-flo", - "version": "0.13.0", + "version": "0.13.1", "description": "Library for quickly building text DSL visualization diagram editor", "author": "Andy Clement, Alex Boyko", "license": "Apache-2.0", diff --git a/projects/flo/styles.scss b/projects/flo/styles.scss index b6d8423..4248c27 100644 --- a/projects/flo/styles.scss +++ b/projects/flo/styles.scss @@ -1,8 +1,8 @@ @import "./../../node_modules/jointjs/dist/joint.core.css"; -/* + @import "./../../node_modules/codemirror/lib/codemirror.css"; @import "./../../node_modules/codemirror/addon/hint/show-hint.css"; @import "./../../node_modules/codemirror/addon/lint/lint.css"; @import "./../../node_modules/codemirror/addon/scroll/simplescrollbars.css"; -*/ +