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