tinymce.full.js
function (node) {
        return Tools.toArray((node.nodeName === "iframe" ? node.contentDocument || node.contentWindow.document : node).childNodes);
      }
function (node) {
        return Tools.toArray((node.nodeName === "iframe" ? node.contentDocument || node.contentWindow.document : node).childNodes);
      }
function ( node ) { return Tools . toArray ( ( node . nodeName === "iframe" ? node . contentDocument || node . contentWindow . document : node ) . childNodes ) ; }
Returns all child nodes matching the optional selector.

@method contents
@param {Element/tinymce.dom.DomQuery} node Node to get the contents of.
@return {tinymce.dom.DomQuery} New DomQuery instance with all matching elements.
Returns all child nodes matching the optional selector .