basic skeleton rewritten in reactjs

This commit is contained in:
Joshua Ashton
2024-12-18 09:54:49 -07:00
parent e6244267f5
commit bab7a0ca27
38186 changed files with 4833360 additions and 5904 deletions
+28
View File
@@ -0,0 +1,28 @@
"use strict";
exports.__esModule = true;
exports.default = void 0;
var _one = _interopRequireDefault(require("./one"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/* Transform the children of `parent`. */
function all(h, parent) {
const nodes = parent.children || [];
const {
length
} = nodes;
const values = [];
let index = -1;
while (++index < length) {
const result = (0, _one.default)(h, nodes[index], parent);
values.push(result);
}
return values.filter(node => node);
}
var _default = all;
exports.default = _default;