Comparing version 0.6.2 to 0.6.3
@@ -9,2 +9,9 @@ # Change Log | ||
## [0.6.3] - 2018-08-26 | ||
### Added | ||
- text for TextNodes | ||
### Fixed | ||
- updateChildren optimisation | ||
## [0.6.0] - 2018-01-21 | ||
@@ -11,0 +18,0 @@ ### Removed |
@@ -6,2 +6,3 @@ // @ts-check | ||
svg: require('./svg'), | ||
text: require('./text'), | ||
list: require('./list'), | ||
@@ -8,0 +9,0 @@ update: require('./update'), |
@@ -62,3 +62,3 @@ var core = require('./core') | ||
//place kid | ||
if (kid === spot.nextSibling) kin.insertBefore(spot, list.tail) | ||
if (kid === spot.nextSibling) kin.removeChild(spot) | ||
else if (kid !== spot) kin.insertBefore(kid, spot) | ||
@@ -65,0 +65,0 @@ spot = kid.nextSibling |
{ | ||
"name": "attodom", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "description": "yet another small DOM component library", |
@@ -34,6 +34,7 @@ # attodom | ||
### Elements (hyperscript) | ||
### Elements and Nodes (hyperscript) | ||
* `el(tagName [, attributes[, updater [,children]]] ): HTMLElement` | ||
* `svg(tagName [, attributes[, updater [,children]]] ): SVGElement` | ||
* `text(content [, properties[, updater]]] ): TextNode` | ||
@@ -40,0 +41,0 @@ where |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17610
24
459
78