mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-13 21:32:55 +00:00
Clean unused code
This commit is contained in:
parent
8de7e58dec
commit
17b07de620
@ -2,15 +2,6 @@ import { MapNode } from "../models/map/map-node";
|
||||
import { MapPort } from "../models/map/map-port";
|
||||
|
||||
|
||||
// export class LinkCreated {
|
||||
// constructor(
|
||||
// public sourceNode: Node,
|
||||
// public sourcePort: Port,
|
||||
// public targetNode: Node,
|
||||
// public targetPort: Port
|
||||
// ) {}
|
||||
// }
|
||||
|
||||
export class MapLinkCreated {
|
||||
constructor(
|
||||
public sourceNode: MapNode,
|
||||
|
@ -7,8 +7,5 @@ class NodeEvent {
|
||||
) {}
|
||||
}
|
||||
|
||||
export class NodeDragging extends NodeEvent {}
|
||||
export class NodeDragged extends NodeEvent {}
|
||||
|
||||
export class NodeClicked extends NodeEvent {}
|
||||
export class NodeContextMenu extends NodeEvent {}
|
||||
|
@ -2,7 +2,7 @@ import { Injectable, EventEmitter } from "@angular/core";
|
||||
|
||||
import { Widget } from "./widget";
|
||||
import { SVGSelection } from "../models/types";
|
||||
import { NodeContextMenu, NodeClicked, NodeDragged, NodeDragging } from "../events/nodes";
|
||||
import { NodeContextMenu, NodeClicked } from "../events/nodes";
|
||||
import { CssFixer } from "../helpers/css-fixer";
|
||||
import { FontFixer } from "../helpers/font-fixer";
|
||||
import { select, event } from "d3-selection";
|
||||
@ -18,8 +18,6 @@ export class NodeWidget implements Widget {
|
||||
|
||||
public onContextMenu = new EventEmitter<NodeContextMenu>();
|
||||
public onNodeClicked = new EventEmitter<NodeClicked>();
|
||||
public onNodeDragged = new EventEmitter<NodeDragged>();
|
||||
public onNodeDragging = new EventEmitter<NodeDragging>();
|
||||
|
||||
constructor(
|
||||
private cssFixer: CssFixer,
|
||||
|
Loading…
x
Reference in New Issue
Block a user