mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
34 lines
502 B
JavaScript
34 lines
502 B
JavaScript
'use strict';
|
|
|
|
/* global CloudCmd */
|
|
|
|
CloudCmd.Help = HelpProto;
|
|
|
|
function HelpProto() {
|
|
Images.show.load('top');
|
|
show();
|
|
|
|
return exports;
|
|
}
|
|
|
|
const {Images} = require('./dom');
|
|
|
|
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();
|
|
}
|
|
|