@fruit-ui/core 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -75,4 +75,4 @@ Ongoing development on FRUIT focuses on:
|
|
|
75
75
|
- Benchmarks against other JS frameworks
|
|
76
76
|
- Basic built-in components
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
Contributions aren't currently being sought out. Please feel free to open an issue or reach out to [asantagata225@gmail.com](mailto:asantagata225@gmail.com) with any suggestions etc.
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -210,7 +210,7 @@ function createElementFromTemplate(template, onMounts, producer = null) {
|
|
|
210
210
|
}
|
|
211
211
|
if (template.innerHTML) {
|
|
212
212
|
element.innerHTML = template.innerHTML;
|
|
213
|
-
} else if (
|
|
213
|
+
} else if (template.children !== undefined) {
|
|
214
214
|
if (Array.isArray(template.children)) {
|
|
215
215
|
element.replaceChildren(
|
|
216
216
|
...template.children.map(ct => createElementFromElementable.call(this, ct, onMounts))
|