server/sports/sports-parsing.js
// Grabs the data out of the html element using the global DOCUMENT, so that must be set.
Grabs the data out of the html element using the global DOCUMENT, so that must be set.
Grabs the data out of the html element using the global DOCUMENT so that must be set .
function strip(html) {
    if (html && document) {
        var tmp = document.createElement("DIV");
        tmp.innerHTML = html;
        return tmp.textContent || tmp.innerText;
    } else {
        return null;
    }
}
function strip ( html ) { if ( html && document ) { var tmp = document . createElement ( "DIV" ) ; tmp . innerHTML = html ; return tmp . textContent || tmp . innerText ; } else { return null ; } }
Grabs the data out of the html element using the global DOCUMENT, so that must be set.
Grabs the data out of the html element using the global DOCUMENT so that must be set .