|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
611 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | exports.__esModule = true;
|
|---|
| 4 | exports.default = void 0;
|
|---|
| 5 |
|
|---|
| 6 | var _one = _interopRequireDefault(require("./one"));
|
|---|
| 7 |
|
|---|
| 8 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|---|
| 9 |
|
|---|
| 10 | /* Transform the children of `parent`. */
|
|---|
| 11 | function all(h, parent) {
|
|---|
| 12 | const nodes = parent.children || [];
|
|---|
| 13 | const {
|
|---|
| 14 | length
|
|---|
| 15 | } = nodes;
|
|---|
| 16 | const values = [];
|
|---|
| 17 | let index = -1;
|
|---|
| 18 |
|
|---|
| 19 | while (++index < length) {
|
|---|
| 20 | const result = (0, _one.default)(h, nodes[index], parent);
|
|---|
| 21 | values.push(result);
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | return values.filter(node => node);
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | var _default = all;
|
|---|
| 28 | exports.default = _default; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.