mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
27 lines
445 B
JavaScript
27 lines
445 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();
|
|
}
|