changed default ip to null so IP would be geted from config.json only if it setted up

This commit is contained in:
coderaiser 2012-11-28 03:48:45 -05:00
parent 8bc9f6bea5
commit d3b0315ebf
7 changed files with 53 additions and 49 deletions

View file

@ -28,17 +28,18 @@ var CloudCommander, Util, DOM, $, Github, cb;
function load(pCallBack){
console.time('github load');
var lDir = './lib/client/storage/github/';
DOM.anyLoadInParallel([
lDir + 'github.js',
lDir + 'lib/base64.js',
lDir + 'lib/underscore.js'],
function(){
console.timeEnd('github load');
DOM.Images.hideLoad();
Util.exec(pCallBack);
var lDir = './lib/client/storage/github/',
lFiles = [
lDir + 'github.js',
lDir + 'lib/base64.js',
lDir + 'lib/underscore.js'
];
DOM.anyLoadInParallel(lFiles, function(){
console.timeEnd('github load');
DOM.Images.hideLoad();
Util.exec(pCallBack);
});
}