imports/vx/client/code/vxapp.js
/**
     * Add all database functions to VXApp.
     */
Add all database functions to VXApp.
Add all database functions to VXApp .
addAllFunctions() {
        const functionAnchor = VXApp.functionAnchor()
        if (!functionAnchor) {
            return
        }
        const functions = VXApp.findFunctionList()
        OLog.debug("vxapp.js addAllFunctions will add all functions to " +
            `${functionAnchor} global object with count=${functions.length}`)
        window[functionAnchor] = {}
        functions.forEach(newFunction => {
            VXApp.addFunction(newFunction, false)
        })
        Store.dispatch(setFunctionUpdateTimestamp(new Date().toISOString()))
    }
addAllFunctions ( ) { const functionAnchor = VXApp . functionAnchor ( ) if ( ! functionAnchor ) { return } const functions = VXApp . findFunctionList ( ) OLog . debug ( "vxapp.js addAllFunctions will add all functions to " + ` ${ functionAnchor } ${ functions . length } ` ) window [ functionAnchor ] = { } functions . forEach ( newFunction => { VXApp . addFunction ( newFunction , false ) } ) Store . dispatch ( setFunctionUpdateTimestamp ( new Date ( ) . toISOString ( ) ) ) }
Add all database functions to VXApp.
Add all database functions to VXApp .