als-render
Advanced tools
Comparing version 0.2.3 to 0.2.31
@@ -21,3 +21,3 @@ function newContext() { | ||
componentFn.update = function(newParams,key) {context.update(componentName,newParams,key)} | ||
context.components[componentName] = function(props) { | ||
context.components[componentName] = function(props={}) { | ||
let result = componentFn(props).trim() | ||
@@ -24,0 +24,0 @@ if(result.startsWith('<>')) return result.slice(2,-3) // remove <> and </> |
{ | ||
"name": "als-render", | ||
"version": "0.2.3", | ||
"version": "0.2.31", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
50952