More convertions

This commit is contained in:
Adria Navarro 2024-02-21 19:41:14 +01:00
parent b457b0e023
commit 92f08d84d7
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
const { getJsHelperList } = require("../helpers")
import { getJsHelperList } from "../helpers"
function getLayers(fullBlock) {
let layers = []
@ -103,7 +103,7 @@ function splitBySpace(layer) {
return parts
}
module.exports.convertHBSBlock = (block, blockNumber) => {
export function convertHBSBlock(block, blockNumber) {
const braceLength = block[2] === "{" ? 3 : 2
block = block.substring(braceLength, block.length - braceLength).trim()
const layers = getLayers(block)