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 {
HighlightService,
TextHighlightToolGroupServices,
EditorInfoToolGroupServices,
CounterInfoService,
BottomInfoService,
TransformService,
TransformToolGroupService,
......@@ -154,7 +153,6 @@ export default {
new HighlightService(),
new TextHighlightToolGroupServices(),
new EditorInfoToolGroupServices(),
new CounterInfoService(),
new BottomInfoService(),
new TransformService(),
new TransformToolGroupService(),
......
......@@ -29,7 +29,6 @@ import {
HighlightService,
TextHighlightToolGroupServices,
EditorInfoToolGroupServices,
CounterInfoService,
BottomInfoService,
TransformService,
TransformToolGroupService,
......@@ -117,7 +116,6 @@ export default {
new HighlightService(),
new TextHighlightToolGroupServices(),
new EditorInfoToolGroupServices(),
new CounterInfoService(),
new BottomInfoService(),
new TransformService(),
new TransformToolGroupService(),
......
export default [];
import CounterInfoService from './CounterInfoService/CounterInfoService';
export default [new CounterInfoService()];
......@@ -3,9 +3,9 @@ import Service from '../../../Service';
import InfoToolGroup from './InfoTool';
class EditorInfoToolGroupServices extends Service {
name = "EditorInfoToolGroupServices";
register(){
this.container.bind('InfoToolGroup').to(InfoToolGroup);
}
name = 'EditorInfoToolGroupServices';
register() {
this.container.bind('InfoToolGroup').to(InfoToolGroup);
}
}
export default EditorInfoToolGroupServices;
\ No newline at end of file
export default EditorInfoToolGroupServices;
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