mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(help) add " ", "\n"
This commit is contained in:
parent
948dfcab59
commit
f504036cca
1 changed files with 5 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ var CloudCmd, Util, DOM;
|
|||
Images = DOM.Images,
|
||||
Help = this;
|
||||
|
||||
this.init = function(pCallBack){
|
||||
this.init = function(pCallBack) {
|
||||
Util.loadOnLoad([
|
||||
Help.show,
|
||||
CloudCmd.View,
|
||||
|
|
@ -21,8 +21,9 @@ var CloudCmd, Util, DOM;
|
|||
delete Help.init;
|
||||
};
|
||||
|
||||
this.show = function(){
|
||||
this.show = function() {
|
||||
Images.showLoad({top:true});
|
||||
|
||||
DOM.cssSet({
|
||||
id : 'help-css',
|
||||
inner : '#help {' +
|
||||
|
|
@ -37,8 +38,9 @@ var CloudCmd, Util, DOM;
|
|||
|
||||
DOM.ajax({
|
||||
url: '/HELP.md',
|
||||
success: function (pData){
|
||||
success: function (pData) {
|
||||
var lData = {text: pData};
|
||||
|
||||
DOM.ajax({
|
||||
method : 'post',
|
||||
url : 'https://api.github.com/markdown',
|
||||
|
|
@ -62,7 +64,6 @@ var CloudCmd, Util, DOM;
|
|||
});
|
||||
};
|
||||
|
||||
|
||||
this.hide = function() {
|
||||
CloudCmd.View.hide();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue