src/common/core/users/metarules.js
function loadNode(core, rootNode, nodePath) {
        return core.loadByPath(rootNode, nodePath)
            .then(function (node) {
                if (node === null) {
                    throw new Error('Given nodePath does not exist "' + nodePath + '"!');
                } else {
                    return node;
                }
            });
    }
function loadNode(core, rootNode, nodePath) {
        return core.loadByPath(rootNode, nodePath)
            .then(function (node) {
                if (node === null) {
                    throw new Error('Given nodePath does not exist "' + nodePath + '"!');
                } else {
                    return node;
                }
            });
    }
function loadNode ( core , rootNode , nodePath ) { return core . loadByPath ( rootNode , nodePath ) . then ( function ( node ) { if ( node === null ) { throw new Error ( 'Given nodePath does not exist "' + nodePath + '"!' ) ; } else { return node ; } } ) ; }
Helper functions.
Helper functions .