@dazn/kopytko-framework 1.1.1 → 1.1.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.1.2](https://github.com/getndazn/kopytko-framework/compare/v1.1.1...v1.1.2) (2022-07-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* allow to render array of elements in root component ([#30](https://github.com/getndazn/kopytko-framework/issues/30)) ([8609122](https://github.com/getndazn/kopytko-framework/commit/8609122e3008009802eaa1865f5ee7756392afa3))
|
|
7
|
+
|
|
1
8
|
## [1.1.1](https://github.com/getndazn/kopytko-framework/compare/v1.1.0...v1.1.1) (2022-06-02)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ function KopytkoDOM() as Object
|
|
|
64
64
|
rootElement = m._getRootComponent()
|
|
65
65
|
|
|
66
66
|
for each element in elements
|
|
67
|
-
if (element.parentId = Invalid)
|
|
67
|
+
if (Type(element) = "roArray" OR element.parentId = Invalid)
|
|
68
68
|
parentElement = rootElement.top
|
|
69
69
|
else
|
|
70
70
|
parentElement = rootElement[element.parentId]
|