index.js
function xcatalog(id) {
    const definition = definitions.get(id);
    if (!definition) {
        throw new TypeError("No definition for: " + id);
    }
    if (!definition.fac) {
        definition.fac = build(definition, definition.dep.map(xcatalog));
    }
    return definition.fac();
}
function xcatalog(id) {
    const definition = definitions.get(id);
    if (!definition) {
        throw new TypeError("No definition for: " + id);
    }
    if (!definition.fac) {
        definition.fac = build(definition, definition.dep.map(xcatalog));
    }
    return definition.fac();
}
function xcatalog ( id ) { const definition = definitions . get ( id ) ; if ( ! definition ) { throw new TypeError ( "No definition for: " + id ) ; } if ( ! definition . fac ) { definition . fac = build ( definition , definition . dep . map ( xcatalog ) ) ; } return definition . fac ( ) ; }
Retrieves a stored reference
@param {string} id - xcatalog id item
Retrieves a stored reference