cloudcmd/client/help.js
coderaiser b71ec29db6 feature(cloudcmd) lib/client -> client
Move lib/client and lib/server one level upper
2016-12-16 09:56:44 +02:00

33 lines
766 B
JavaScript

var CloudCmd, Util, DOM;
(function(CloudCmd, Util, DOM) {
'use strict';
CloudCmd.Help = HelpProto;
function HelpProto() {
var Images = DOM.Images,
Help = this;
function init() {
Images.show.load('top');
Help.show();
}
this.show = function() {
CloudCmd
.Markdown
.show('/HELP.md', {
positionLoad : 'top',
relative : true
});
};
this.hide = function() {
CloudCmd.View.hide();
};
init();
}
})(CloudCmd, Util, DOM);