added jsx

This commit is contained in:
jusax23 2022-12-07 22:21:00 +01:00
parent 36356a5743
commit 5e85ac4a5b
4 changed files with 1874 additions and 4 deletions

View file

@ -8,6 +8,7 @@ const call = async (stear, { find, resolve, close, render, call, event }, args)
/*event.onBeforRerender = async () => { }*/ /*event.onBeforRerender = async () => { }*/
/*event.onAfterRerender = async () => { }*/ /*event.onAfterRerender = async () => { }*/
/*event.onParentRender = () => { }*/ /*event.onParentRender = () => { }*/
/*event.onGlobalRenderRequest = () => { return [false -> no auto rerendering]}*/
return _({ return _({

1870
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@
}, },
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu --sourcemap" "serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu #--sourcemap"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -21,6 +21,7 @@
}, },
"homepage": "https://gitlab.com/jusax23/stear#readme", "homepage": "https://gitlab.com/jusax23/stear#readme",
"devDependencies": { "devDependencies": {
"esbuild": "^0.15.12" "esbuild": "^0.15.12",
"jsdoc-to-markdown": "^7.1.1"
} }
} }

2
stear

@ -1 +1 @@
Subproject commit 10e9a68989393ce7a4d647c489eef66ec6390f9e Subproject commit 18e3b13fdc0566768cdd675c6755f133894a8935