Skip to content

Commit 322f2dc

Browse files
committed
fixing markup engine boot
1 parent 4a10a85 commit 322f2dc

3 files changed

Lines changed: 671 additions & 674 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "modular-openscriptjs",
3-
"version": "1.0.14",
3+
"version": "1.0.18",
44
"description": "OpenScriptJs Framework - A lightweight, reactive JavaScript framework for building modern web applications",
55
"type": "module",
66
"main": "./dist/modular-openscriptjs.umd.js",

src/component/Component.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ export default class Component {
818818
* @returns
819819
*/
820820
render(state, callback, ...args) {
821+
let h = container.resolve("h");
821822
let markup = callback(state, ...args);
822823
return h[`ojs-wrapper`](markup, ...args);
823824
}

0 commit comments

Comments
 (0)