mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
28 lines
No EOL
601 B
JavaScript
28 lines
No EOL
601 B
JavaScript
/* gui module for config.json editing */
|
|
var CloudCommander;
|
|
|
|
(function(){
|
|
"use strict";
|
|
|
|
var cloudcmd = CloudCommander;
|
|
|
|
var Config = {};
|
|
|
|
Config.Show = (function(){
|
|
console.log('config showed');
|
|
|
|
var lFancyBox = cloudcmd.Viewer.FancyBox;
|
|
lFancyBox.loadData({hreef: 'htlm/config.html'},
|
|
lFancyBox.onDataLoaded);
|
|
});
|
|
|
|
Config.Keys = function(){
|
|
console.log('config.js loaded');
|
|
cloudcmd.Viewer(function(){
|
|
Config.Show();
|
|
});
|
|
};
|
|
|
|
cloudcmd.Config = Config;
|
|
|
|
})(); |