Comparing version 0.1.98 to 0.1.99
{ | ||
"name": "webdetta", | ||
"version": "0.1.98", | ||
"version": "0.1.99", | ||
"author": "Fedot Kriutchenko <fodyadev@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -117,3 +117,3 @@ import { Context } from '../common/context.js'; | ||
} | ||
const isolate = func => withHandler(func, null); | ||
const detach = func => withHandler(func, null)(); | ||
const scope = func => { | ||
@@ -162,3 +162,3 @@ let controller; | ||
scope: scope, | ||
isolate: isolate, | ||
detach: detach, | ||
effect: effect, | ||
@@ -165,0 +165,0 @@ derive: derive, |
@@ -31,4 +31,5 @@ import { kebab } from '../common/dom.js'; | ||
export const operators = { | ||
append: (node, ...args) => Element.append(node, args), | ||
remove: (node) => Element.remove(node), | ||
ref: ref, | ||
append: (node, ...args) => Element.append(node, args), | ||
@@ -35,0 +36,0 @@ if: (cond, ...args) => createIf().elif(cond, args), |
@@ -18,3 +18,2 @@ import { el } from '../realdom/index.js'; | ||
for (const param of paramKeys) { | ||
console.log('param', param, params[param]); | ||
paramVal(key, param)(params[param]); | ||
@@ -21,0 +20,0 @@ } |
149714