changed Util calls to DOM, when needed

This commit is contained in:
coderaiser 2012-11-12 14:57:48 +02:00
parent 5d3fc1a7d7
commit da57967626

View file

@ -1,7 +1,5 @@
var CloudCommander, $;
var CloudCommander, Github;
/* object contains terminal jqconsole */
var CloudCommander, $, Github;
/* module for work with github */
(function(){
"use strict";
@ -10,11 +8,10 @@ var CloudCommander, Github;
Util = cloudcmd.Util,
CLIENT_ID = '891c251b925e4e967fa9',
CLIENT_SECRET = 'afe9bed1e810c5dc44c4c2a953fc6efb1e5b0545';
CLIENT_SECRET = 'afe9bed1e810c5dc44c4c2a953fc6efb1e5b0545',
GithubStore = {};
cloudcmd.Storage = {};
var GithubStore = {};
/* PRIVATE FUNCTIONS */
@ -25,14 +22,14 @@ var CloudCommander, Github;
console.time('github load');
var lDir = './lib/client/storage/github/';
Util.anyLoadOnLoad([
DOM.anyLoadOnLoad([
lDir + 'github.js',
lDir + 'lib/base64.js',
lDir + 'lib/underscore.js'],
function(){
console.timeEnd('github load');
Util.Images.hideLoad();
DOM.Images.hideLoad();
init();
});
}
@ -89,9 +86,8 @@ var CloudCommander, Github;
};
cloudcmd.Storage.Keys = function(){
Util.jqueryLoad( load );
DOM.jqueryLoad( load );
};
cloudcmd.Storage.Github = GithubStore;
})();
cloudcmd.Storage.Github = GithubStore;
})();