index.js
function pnodeParents (pnode) {
        if (!pnode.valid) return undefined
        var parentPaths = parents(pnode.path),
        list            = []
        for (var i = 0; i < parentPaths.length; i++) list.push( ptree(parentPaths[i]) )
        return list
    }
function pnodeParents (pnode) {
        if (!pnode.valid) return undefined
        var parentPaths = parents(pnode.path),
        list            = []
        for (var i = 0; i < parentPaths.length; i++) list.push( ptree(parentPaths[i]) )
        return list
    }
function pnodeParents ( pnode ) { if ( ! pnode . valid ) return undefined var parentPaths = parents ( pnode . path ) , list = [ ] for ( var i = 0 ; i < parentPaths . length ; i ++ ) list . push ( ptree ( parentPaths [ i ] ) ) return list }
get all parents of a pnoce
get all parents of a pnoce