| @@ -19,7 +19,7 | |||||
| 19 | "eslint": "6.8.0", |
|
19 | "eslint": "6.8.0", | |
| 20 | "requirejs": "2.3.6", |
|
20 | "requirejs": "2.3.6", | |
| 21 | "tslint": "^6.1.3", |
|
21 | "tslint": "^6.1.3", | |
| 22 |
"typescript": "4. |
|
22 | "typescript": "4.2.4", | |
| 23 | "yaml": "~1.7.2" |
|
23 | "yaml": "~1.7.2" | |
| 24 | }, |
|
24 | }, | |
| 25 | "peerDependencies": { |
|
25 | "peerDependencies": { | |
| @@ -1446,9 +1446,9 | |||||
| 1446 | } |
|
1446 | } | |
| 1447 | }, |
|
1447 | }, | |
| 1448 | "node_modules/typescript": { |
|
1448 | "node_modules/typescript": { | |
| 1449 |
"version": "4. |
|
1449 | "version": "4.2.4", | |
| 1450 |
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4. |
|
1450 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", | |
| 1451 | "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", |
|
1451 | "integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==", | |
| 1452 | "dev": true, |
|
1452 | "dev": true, | |
| 1453 | "bin": { |
|
1453 | "bin": { | |
| 1454 | "tsc": "bin/tsc", |
|
1454 | "tsc": "bin/tsc", | |
| @@ -2681,9 +2681,9 | |||||
| 2681 | "dev": true |
|
2681 | "dev": true | |
| 2682 | }, |
|
2682 | }, | |
| 2683 | "typescript": { |
|
2683 | "typescript": { | |
| 2684 |
"version": "4. |
|
2684 | "version": "4.2.4", | |
| 2685 |
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4. |
|
2685 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", | |
| 2686 | "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", |
|
2686 | "integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==", | |
| 2687 | "dev": true |
|
2687 | "dev": true | |
| 2688 | }, |
|
2688 | }, | |
| 2689 | "uri-js": { |
|
2689 | "uri-js": { | |
| @@ -17,8 +17,6 export class FunctionRendition extends R | |||||
| 17 | const _attrs: any = attrs || {}; |
|
17 | const _attrs: any = attrs || {}; | |
| 18 | const _children = children.map(x => this.getItemDom(x)); |
|
18 | const _children = children.map(x => this.getItemDom(x)); | |
| 19 | this._node = this.getItemDom( |
|
19 | this._node = this.getItemDom( | |
| 20 | this._component.length === 2 ? |
|
|||
| 21 | this._component.call(null, { ..._attrs }, _children) : |
|
|||
| 22 |
|
|
20 | this._component.call(null, { ..._attrs, children: _children }) | |
| 23 | ); |
|
21 | ); | |
| 24 | } |
|
22 | } | |
| @@ -86,7 +86,7 export abstract class RenditionBase<TNod | |||||
| 86 |
|
86 | |||
| 87 | const collect = (collection: HTMLCollection) => { |
|
87 | const collect = (collection: HTMLCollection) => { | |
| 88 | const items = []; |
|
88 | const items = []; | |
| 89 |
for (let i = 0, n = |
|
89 | for (let i = 0, n = collection.length; i < n; i++) { | |
| 90 | items.push(collection[i]); |
|
90 | items.push(collection[i]); | |
| 91 | } |
|
91 | } | |
| 92 | return items; |
|
92 | return items; | |
General Comments 0
You need to be logged in to leave comments.
Login now
