mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
31 lines
477 B
JavaScript
31 lines
477 B
JavaScript
'use strict';
|
|
|
|
/* global CloudCmd */
|
|
|
|
CloudCmd.Help = exports;
|
|
|
|
const Images = require('../dom/images');
|
|
|
|
module.exports.init = () => {
|
|
Images.show.load('top');
|
|
};
|
|
|
|
module.exports.show = show;
|
|
module.exports.hide = hide;
|
|
|
|
function show() {
|
|
const positionLoad = 'top';
|
|
const relative = true;
|
|
|
|
CloudCmd
|
|
.Markdown
|
|
.show('/HELP.md', {
|
|
positionLoad,
|
|
relative,
|
|
});
|
|
}
|
|
|
|
function hide() {
|
|
CloudCmd.View.hide();
|
|
}
|
|
|