Fix basic formating lint issues.

This commit is contained in:
Paulo Gustavo Veiga 2022-01-12 16:15:07 -08:00
parent b7c793daa7
commit 924408f83f
5 changed files with 4 additions and 7 deletions

View File

@ -17,7 +17,6 @@
*/
import { $assert, $defined } from '@wisemapping/core-js';
import EventBus from './layout/EventBus';
import NodeModel from './model/NodeModel';
class CommandContext {
constructor(designer) {

View File

@ -20,7 +20,7 @@ import { $assert, $defined } from '@wisemapping/core-js';
import {
Point, CurvedLine, PolyLine, Line,
} from '@wisemapping/web2d';
import INodeModel, { TopicShape } from './model/INodeModel';
import { TopicShape } from './model/INodeModel';
import TopicConfig from './TopicConfig';
class ConnectionLine {

View File

@ -41,7 +41,7 @@ class CurvedLinePeer extends ElementPeer {
this._control1.y = Number.parseFloat(this._control1.y, 10);
}
if (change) {
this._updatePath();
this._updatePath();
}
}

View File

@ -1,5 +1,3 @@
import { $defined } from '@wisemapping/core-js';
// quick hand-made version of $.css()
export const getStyle = (elem, prop) => {
const result = window.getComputedStyle(elem)[prop];