src/LiveDevelopment/Agents/GotoAgent.js
function _makeCSSTarget(targets, rule) {
        if (rule.sourceURL) {
            var url = rule.sourceURL;
            url += ":" + rule.style.range.start;
            var name = rule.selectorList.text;
            var file = _fileFromURL(url);
            targets.push({"type": "css", "url": url, "name": name, "file": file});
        }
    }
function _makeCSSTarget(targets, rule) {
        if (rule.sourceURL) {
            var url = rule.sourceURL;
            url += ":" + rule.style.range.start;
            var name = rule.selectorList.text;
            var file = _fileFromURL(url);
            targets.push({"type": "css", "url": url, "name": name, "file": file});
        }
    }
function _makeCSSTarget ( targets , rule ) { if ( rule . sourceURL ) { var url = rule . sourceURL ; url += ":" + rule . style . range . start ; var name = rule . selectorList . text ; var file = _fileFromURL ( url ) ; targets . push ( { "type" : "css" , "url" : url , "name" : name , "file" : file } ) ; } }
Make the given css rule a target for goto
@param [] targets array
@param {CSS.Rule} node
Make the given css rule a target for goto