mirror of
https://github.com/cupcakearmy/cometa.git
synced 2025-09-06 04:50:40 +00:00
Rendered JS
This commit is contained in:
2
dist/parser.js
vendored
2
dist/parser.js
vendored
@@ -2,7 +2,7 @@
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const options_1 = require("./options");
|
||||
function computeParts(parts, data = {}) {
|
||||
if (parts.length === 0)
|
||||
if (parts === undefined || parts.length === 0)
|
||||
return '';
|
||||
return computePart(parts[0], data) + computeParts(parts.slice(1), data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user