Fix obsolete usage of EventSubscriber in template

This functionality was moved to the MapSubscriber class in e49b82842d.
This commit is contained in:
Hornwitser committed 2026-09-11 20:18:49 +02:00
1 parent a025d01294
commit b69111dda3
2 files changed
+2 -2

No files matched your search

@@ -43,7 +43,7 @@ function MyTemplatePage() {
export class WebPlugin extends BaseWebPlugin {
//%if controller // Subscribing requires web content and the controller
subscribableData = new lib.EventSubscriber(ExampleSubscribableUpdate, this.control);
subscribableData = new lib.MapSubscriber(ExampleSubscribableUpdate, this.control);
//%endif
async init() {
@@ -43,7 +43,7 @@ function MyTemplatePage() {
export class WebPlugin extends BaseWebPlugin {
//%if controller // Subscribing requires web content and the controller
subscribableData = new lib.EventSubscriber(ExampleSubscribableUpdate, this.control);
subscribableData = new lib.MapSubscriber(ExampleSubscribableUpdate, this.control);
//%endif
async init() {