dist/jxh.js
function routeTags(tag, content, indentStr, indentLevel) {
    if (COMPONENT.test(tag)) {
        return jxh(content, indentStr, indentLevel);
    } else {
        let attrs = getType(content)==='object' ? getAttributes(content) : '';
        switch (getType(content)) {
            case 'null':
            case 'undefined':
            case 'NaN':
            case 'string':
            case 'number':
            case 'boolean':
                return renderElement(tag, attrs, content, indentStr, indentLevel);
                break;
            case 'array':
                return parseArray(tag, attrs, content, indentStr, indentLevel);
                break;
            case 'object':
                return parseObject(tag, attrs, content, indentStr, indentLevel);
                break;
            default:
                objTypeError(content);
                break;
        }
    }
}
function routeTags(tag, content, indentStr, indentLevel) {
    if (COMPONENT.test(tag)) {
        return jxh(content, indentStr, indentLevel);
    } else {
        let attrs = getType(content)==='object' ? getAttributes(content) : '';
        switch (getType(content)) {
            case 'null':
            case 'undefined':
            case 'NaN':
            case 'string':
            case 'number':
            case 'boolean':
                return renderElement(tag, attrs, content, indentStr, indentLevel);
                break;
            case 'array':
                return parseArray(tag, attrs, content, indentStr, indentLevel);
                break;
            case 'object':
                return parseObject(tag, attrs, content, indentStr, indentLevel);
                break;
            default:
                objTypeError(content);
                break;
        }
    }
}
function routeTags ( tag , content , indentStr , indentLevel ) { if ( COMPONENT . test ( tag ) ) { return jxh ( content , indentStr , indentLevel ) ; } else { let attrs = getType ( content ) === 'object' ? getAttributes ( content ) : '' ; switch ( getType ( content ) ) { case 'null' : case 'undefined' : case 'NaN' : case 'string' : case 'number' : case 'boolean' : return renderElement ( tag , attrs , content , indentStr , indentLevel ) ; break ; case 'array' : return parseArray ( tag , attrs , content , indentStr , indentLevel ) ; break ; case 'object' : return parseObject ( tag , attrs , content , indentStr , indentLevel ) ; break ; default : objTypeError ( content ) ; break ; } } }
route object members to appropriate parsing function based on member type
route object members to appropriate parsing function based on member type