mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
31 lines
531 B
JavaScript
31 lines
531 B
JavaScript
'use strict';
|
|
|
|
/* global DOM, CloudCmd */
|
|
|
|
window.CloudCmd.Help = HelpProto;
|
|
|
|
function HelpProto() {
|
|
const Images = DOM.Images;
|
|
const Help = this;
|
|
|
|
function init() {
|
|
Images.show.load('top');
|
|
Help.show();
|
|
}
|
|
|
|
this.show = () => {
|
|
CloudCmd
|
|
.Markdown
|
|
.show('/HELP.md', {
|
|
positionLoad : 'top',
|
|
relative : true
|
|
});
|
|
};
|
|
|
|
this.hide = () => {
|
|
CloudCmd.View.hide();
|
|
};
|
|
|
|
init();
|
|
}
|
|
|