changed the way of getting github application id

This commit is contained in:
coderaiser 2012-12-13 05:37:02 -05:00
parent 288240726c
commit ce5b7baaa4
4 changed files with 11 additions and 27 deletions

View file

@ -43,13 +43,9 @@ var CloudCommander, Util, DOM, $, Github, cb;
}
function setConfig(pCallBack){
DOM.ajax({
url : GitHubIdURL,
success : function(pData){
GitHub_ID = pData;
Util.exec(pCallBack);
}
cloudcmd.getConfig(function(pConfig){
GitHub_ID = pConfig.github_key;
Util.exec(pCallBack);
});
}