public/javascripts/yui/dom/dom-debug.js
function(method, tag, root) {
            return Y.Dom.getElementsBy(method, tag, root, null, null, null, true); 
        }
function(method, tag, root) {
            return Y.Dom.getElementsBy(method, tag, root, null, null, null, true); 
        }
function ( method , tag , root ) { return Y . Dom . getElementsBy ( method , tag , root , null , null , null , true ) ; }
Returns the first HTMLElement that passes the test applied by the supplied boolean method.
@method getElementBy
@param {Function} method - A boolean method for testing elements which receives the element as its only argument.
@param {String} tag (optional) The tag name of the elements being collected
@param {String | HTMLElement} root (optional) The HTMLElement or an ID to use as the starting point
@return {HTMLElement}
Returns the first HTMLElement that passes the test applied by the supplied boolean method .