Skip to content
Snippets Groups Projects
Commit 7218fccb authored by chris's avatar chris
Browse files

properly load service

parent 98371106
No related branches found
No related tags found
1 merge request!215set id
...@@ -35,7 +35,6 @@ import { ...@@ -35,7 +35,6 @@ import {
HighlightService, HighlightService,
TextHighlightToolGroupServices, TextHighlightToolGroupServices,
EditorInfoToolGroupServices, EditorInfoToolGroupServices,
CounterInfoService,
BottomInfoService, BottomInfoService,
TransformService, TransformService,
TransformToolGroupService, TransformToolGroupService,
...@@ -154,7 +153,6 @@ export default { ...@@ -154,7 +153,6 @@ export default {
new HighlightService(), new HighlightService(),
new TextHighlightToolGroupServices(), new TextHighlightToolGroupServices(),
new EditorInfoToolGroupServices(), new EditorInfoToolGroupServices(),
new CounterInfoService(),
new BottomInfoService(), new BottomInfoService(),
new TransformService(), new TransformService(),
new TransformToolGroupService(), new TransformToolGroupService(),
......
...@@ -29,7 +29,6 @@ import { ...@@ -29,7 +29,6 @@ import {
HighlightService, HighlightService,
TextHighlightToolGroupServices, TextHighlightToolGroupServices,
EditorInfoToolGroupServices, EditorInfoToolGroupServices,
CounterInfoService,
BottomInfoService, BottomInfoService,
TransformService, TransformService,
TransformToolGroupService, TransformToolGroupService,
...@@ -117,7 +116,6 @@ export default { ...@@ -117,7 +116,6 @@ export default {
new HighlightService(), new HighlightService(),
new TextHighlightToolGroupServices(), new TextHighlightToolGroupServices(),
new EditorInfoToolGroupServices(), new EditorInfoToolGroupServices(),
new CounterInfoService(),
new BottomInfoService(), new BottomInfoService(),
new TransformService(), new TransformService(),
new TransformToolGroupService(), new TransformToolGroupService(),
......
export default []; import CounterInfoService from './CounterInfoService/CounterInfoService';
export default [new CounterInfoService()];
...@@ -3,9 +3,9 @@ import Service from '../../../Service'; ...@@ -3,9 +3,9 @@ import Service from '../../../Service';
import InfoToolGroup from './InfoTool'; import InfoToolGroup from './InfoTool';
class EditorInfoToolGroupServices extends Service { class EditorInfoToolGroupServices extends Service {
name = "EditorInfoToolGroupServices"; name = 'EditorInfoToolGroupServices';
register(){ register() {
this.container.bind('InfoToolGroup').to(InfoToolGroup); this.container.bind('InfoToolGroup').to(InfoToolGroup);
} }
} }
export default EditorInfoToolGroupServices; export default EditorInfoToolGroupServices;
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment