mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix basic formating lint issues.
This commit is contained in:
parent
b7c793daa7
commit
924408f83f
@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
import { $assert, $defined } from '@wisemapping/core-js';
|
import { $assert, $defined } from '@wisemapping/core-js';
|
||||||
import EventBus from './layout/EventBus';
|
import EventBus from './layout/EventBus';
|
||||||
import NodeModel from './model/NodeModel';
|
|
||||||
|
|
||||||
class CommandContext {
|
class CommandContext {
|
||||||
constructor(designer) {
|
constructor(designer) {
|
||||||
|
@ -20,7 +20,7 @@ import { $assert, $defined } from '@wisemapping/core-js';
|
|||||||
import {
|
import {
|
||||||
Point, CurvedLine, PolyLine, Line,
|
Point, CurvedLine, PolyLine, Line,
|
||||||
} from '@wisemapping/web2d';
|
} from '@wisemapping/web2d';
|
||||||
import INodeModel, { TopicShape } from './model/INodeModel';
|
import { TopicShape } from './model/INodeModel';
|
||||||
import TopicConfig from './TopicConfig';
|
import TopicConfig from './TopicConfig';
|
||||||
|
|
||||||
class ConnectionLine {
|
class ConnectionLine {
|
||||||
|
@ -41,7 +41,7 @@ class CurvedLinePeer extends ElementPeer {
|
|||||||
this._control1.y = Number.parseFloat(this._control1.y, 10);
|
this._control1.y = Number.parseFloat(this._control1.y, 10);
|
||||||
}
|
}
|
||||||
if (change) {
|
if (change) {
|
||||||
this._updatePath();
|
this._updatePath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import { $defined } from '@wisemapping/core-js';
|
|
||||||
|
|
||||||
// quick hand-made version of $.css()
|
// quick hand-made version of $.css()
|
||||||
export const getStyle = (elem, prop) => {
|
export const getStyle = (elem, prop) => {
|
||||||
const result = window.getComputedStyle(elem)[prop];
|
const result = window.getComputedStyle(elem)[prop];
|
||||||
|
Loading…
Reference in New Issue
Block a user