cloudcmd/lib/client/help.js
2014-04-15 09:32:11 -04:00

34 lines
782 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.showLoad({
top: true
});
Help.show();
}
this.show = function() {
CloudCmd
.Markdown
.show('/HELP.md', {
topLoad : true,
relative: true
});
};
this.hide = function() {
CloudCmd.View.hide();
};
init();
}
})(CloudCmd, Util, DOM);