xmlHttp.onreadystatechange = function()

in site/js/projects.js [56:66]


    xmlHttp.onreadystatechange = function(state) {
        if (xmlHttp.readyState == 4 && xmlHttp.status == 200 || xmlHttp.status == 404) {
            if (callback) {
                if (xmlHttp.status == 404) {
                    callback({}, xstate);
                } else {
                    callback(JSON.parse(xmlHttp.responseText), xstate);
                }
            }
        }
    }