src/LiveDevelopment/Agents/GotoAgent.js
function _makeHTMLTarget(targets, node) {
        if (node.location) {
            var url = DOMAgent.url;
            var location = node.location;
            if (node.canHaveChildren()) {
                location += node.length;
            }
            url += ":" + location;
            var name = "&lt;" + node.name + "&gt;";
            var file = _fileFromURL(url);
            targets.push({"type": "html", "url": url, "name": name, "file": file});
        }
    }
function _makeHTMLTarget(targets, node) {
        if (node.location) {
            var url = DOMAgent.url;
            var location = node.location;
            if (node.canHaveChildren()) {
                location += node.length;
            }
            url += ":" + location;
            var name = "&lt;" + node.name + "&gt;";
            var file = _fileFromURL(url);
            targets.push({"type": "html", "url": url, "name": name, "file": file});
        }
    }
function _makeHTMLTarget ( targets , node ) { if ( node . location ) { var url = DOMAgent . url ; var location = node . location ; if ( node . canHaveChildren ( ) ) { location += node . length ; } url += ":" + location ; var name = "&lt;" + node . name + "&gt;" ; var file = _fileFromURL ( url ) ; targets . push ( { "type" : "html" , "url" : url , "name" : name , "file" : file } ) ; } }
Make the given node a target for goto
@param [] targets array
@param {DOMNode} node
Make the given node a target for goto