mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
changed Util calls to DOM, when needed
This commit is contained in:
parent
5d3fc1a7d7
commit
da57967626
1 changed files with 9 additions and 13 deletions
|
|
@ -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;
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue