mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 10:14:13 +00:00
changed the way of getting github application id
This commit is contained in:
parent
288240726c
commit
ce5b7baaa4
4 changed files with 11 additions and 27 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue