mirror of
https://github.com/idrawjs/idraw
synced 2026-05-24 10:08:34 +00:00
chore: cleanup useless code
This commit is contained in:
parent
7b2f00f047
commit
4e38ec8661
3 changed files with 0 additions and 37 deletions
|
|
@ -1,5 +0,0 @@
|
|||
class ElementBase {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
class ElementController {
|
||||
// TODO
|
||||
}
|
||||
|
||||
export default ElementController;
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
import ElementController from './element-controller';
|
||||
|
||||
class ElementHub {
|
||||
|
||||
private _controllerMap: Map<string, ElementController> = new Map();
|
||||
|
||||
constructor() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
register(type: string, controller: ElementController) {
|
||||
if (this._controllerMap.has(type) !== true) {
|
||||
this._controllerMap.set(type, controller)
|
||||
}
|
||||
}
|
||||
|
||||
clear() {
|
||||
this._controllerMap.clear();
|
||||
}
|
||||
|
||||
getDrawActions() {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
|
||||
export default ElementHub;
|
||||
Loading…
Reference in a new issue