Skip to content
Snippets Groups Projects
Verified Commit 989a9461 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: self is not defined! #249

parent c59f78c7
No related branches found
No related tags found
No related merge requests found
...@@ -1211,13 +1211,13 @@ function initShadowRoot() { ...@@ -1211,13 +1211,13 @@ function initShadowRoot() {
const mapping = this.getOption("templateMapping", {}); const mapping = this.getOption("templateMapping", {});
if (isObject(mapping)) { if (isObject(mapping)) {
const formatter = new Formatter(mapping); const formatter = new Formatter(mapping);
if (self.getOption("templateFormatter.marker.open")) { if (this.getOption("templateFormatter.marker.open")!==null) {
formatter.setMarker( formatter.setMarker(
self.getOption("templateFormatter.marker.open"), this.getOption("templateFormatter.marker.open"),
self.getOption("templateFormatter.marker.close"), this.getOption("templateFormatter.marker.close"),
); );
} }
formatter.format(html); html = formatter.format(html);
} }
this.shadowRoot.innerHTML = html; this.shadowRoot.innerHTML = html;
......
...@@ -159,7 +159,7 @@ function getMonsterVersion() { ...@@ -159,7 +159,7 @@ function getMonsterVersion() {
} }
/** don't touch, replaced by make with package.json version */ /** don't touch, replaced by make with package.json version */
monsterVersion = new Version("3.74.0"); monsterVersion = new Version("3.79.0");
return monsterVersion; return monsterVersion;
} }
...@@ -7,7 +7,7 @@ describe('Monster', function () { ...@@ -7,7 +7,7 @@ describe('Monster', function () {
let monsterVersion let monsterVersion
/** don´t touch, replaced by make with package.json version */ /** don´t touch, replaced by make with package.json version */
monsterVersion = new Version("3.74.0") monsterVersion = new Version("3.79.0")
let m = getMonsterVersion(); let m = getMonsterVersion();
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
</head> </head>
<body> <body>
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;"> <div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
<h1 style='margin-bottom: 0.1em;'>Monster 3.74.0</h1> <h1 style='margin-bottom: 0.1em;'>Monster 3.79.0</h1>
<div id="lastupdate" style='font-size:0.7em'>last update Fr 20. Sep 17:42:55 CEST 2024</div> <div id="lastupdate" style='font-size:0.7em'>last update So 6. Okt 14:16:07 CEST 2024</div>
</div> </div>
<div id="mocha-errors" <div id="mocha-errors"
style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div> style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div>
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment