More convertions
This commit is contained in:
parent
b457b0e023
commit
92f08d84d7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue