src/main/shadow/cljs/ui/bundle_renderer.js
function getAncestors(node) {
  var path = [];
  var current = node;
  while (current.parent) {
    path.unshift(current);
    current = current.parent;
  }
  return path;
}
function getAncestors(node) {
  var path = [];
  var current = node;
  while (current.parent) {
    path.unshift(current);
    current = current.parent;
  }
  return path;
}
function getAncestors ( node ) { var path = [ ] ; var current = node ; while ( current . parent ) { path . unshift ( current ) ; current = current . parent ; } return path ; }
Given a node in a partition layout, return an array of all of its ancestor nodes, highest first, but excluding the root.
Given a node in a partition layout return an array of all of its ancestor nodes highest first but excluding the root .