Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • oss/libraries/javascript/monster
1 result
Select Git revision
Loading items
Show changes
Commits on Source (4)
<a name="v3.24.0"></a>
## [v3.24.0] - 2023-03-07
### Add Features
- template mapping
<a name="v3.23.0"></a>
## [v3.23.0] - 2023-03-07
### Add Features
......@@ -398,6 +404,7 @@
<a name="1.8.0"></a>
## 1.8.0 - 2021-08-15
[v3.24.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.23.0...v3.24.0
[v3.23.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.22.1...v3.23.0
[v3.22.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.22.0...v3.22.1
[v3.22.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.21.1...v3.22.0
......
{
"name": "@schukai/monster",
"version": "3.22.1",
"version": "3.23.0",
"description": "Monster is a simple library for creating fast, robust and lightweight websites.",
"keywords": [
"framework",
......
......@@ -946,6 +946,11 @@ function initShadowRoot() {
return this;
}
const mapping = this.getOption("templateMapping", {});
if (isObject(mapping)) {
html = new Formatter(mapping).format(html);
}
this.shadowRoot.innerHTML = html;
return this;
}
......
......@@ -142,7 +142,7 @@ function getMonsterVersion() {
}
/** don't touch, replaced by make with package.json version */
monsterVersion = new Version("3.22.1");
monsterVersion = new Version("3.23.0");
return monsterVersion;
}
{
"name": "monster",
"version": "3.22.1",
"version": "3.23.0",
"description": "monster",
"repository": {
"type": "git",
......
......@@ -7,7 +7,7 @@ describe('Monster', function () {
let monsterVersion
/** don´t touch, replaced by make with package.json version */
monsterVersion = new Version("3.22.1")
monsterVersion = new Version("3.23.0")
let m = getMonsterVersion();
......
{"version":"3.23.0"}
{"version":"3.24.0"}