mirror of
https://github.com/MercuryWorkshop/dreamlandjs.git
synced 2025-05-16 15:40:01 -04:00
bump version
This commit is contained in:
parent
01129edb48
commit
6cd1e1f304
2 changed files with 9 additions and 4 deletions
|
@ -84,7 +84,7 @@ export function handle(references, callback) {
|
|||
(pair) => values.get(pair[0])[pair[1]],
|
||||
);
|
||||
|
||||
const value = mapping(...flattened_values);
|
||||
const value = mapping(...flattened_values.reverse());
|
||||
|
||||
callback(value);
|
||||
};
|
||||
|
@ -363,6 +363,11 @@ function h(type, props, ...children) {
|
|||
elm.addEventListener("change", () => {
|
||||
reference.proxy[reference.property] = elm.value;
|
||||
})
|
||||
} else if (propname == "checked") {
|
||||
handle(references, value => elm.checked = value);
|
||||
elm.addEventListener("click", () => {
|
||||
reference.proxy[reference.property] = elm.checked;
|
||||
})
|
||||
}
|
||||
delete props[name];
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mercuryworkshop/alicejs",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"description": "A utilitarian HTML rendering library",
|
||||
"scripts": {
|
||||
"build": "esbuild --minify --bundle AliceJS.js --outfile=index.js && tsc",
|
||||
|
@ -12,8 +12,8 @@
|
|||
"license": "MIT",
|
||||
"exports": {
|
||||
".": {
|
||||
"browser": "./dist/index.js",
|
||||
"node": "./dist/index.js",
|
||||
"browser": "./index.js",
|
||||
"node": "./index.js",
|
||||
"types":"./AliceJS.d.ts"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue