chore(help) add " ", "\n"

This commit is contained in:
coderaiser 2013-11-05 12:01:24 +00:00
parent 948dfcab59
commit f504036cca

View file

@ -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();
};