code: function getParent(node, contexts) {
      var length = contexts.length;
      var context;
      var children, childrenLength;
  
      while (length--) {
          context = contexts[length];
          children = context.children;
          childrenLength = children.length;
  
          while (childrenLength--) {
              if (children[childrenLength].node === node) {
                  return context.parent;
              }
          }
      }
  
      return node.parentNode;
  }
docs: Gets the parent Node of a Node. Because a Node could have a new parent (specified by a
  -domino-container rule,) the contexts are first checked to see if a given Node has a parent
  specified. If no context for the child is found, its actual parentNode in the DOM is used.