src/value-added/SPScriptAudit.js
function coreScript(src) {
        var coreScriptLocations = ["WebResource.axd", "_layouts"];
        for (var i = 0; i < coreScriptLocations.length; i++) {
            if (src.indexOf(coreScriptLocations[i]) > -1) {
                return true;
            }
        }
        return false;
    }
function coreScript(src) {
        var coreScriptLocations = ["WebResource.axd", "_layouts"];
        for (var i = 0; i < coreScriptLocations.length; i++) {
            if (src.indexOf(coreScriptLocations[i]) > -1) {
                return true;
            }
        }
        return false;
    }
function coreScript ( src ) { var coreScriptLocations = [ "WebResource.axd" , "_layouts" ] ; for ( var i = 0 ; i < coreScriptLocations . length ; i ++ ) { if ( src . indexOf ( coreScriptLocations [ i ] ) > - 1 ) { return true ; } } return false ; }
End of function getScriptAttribute Check to see if the script reference is part of SharePoint core so that we can ignore it
End of function getScriptAttribute Check to see if the script reference is part of SharePoint core so that we can ignore it