From f504036ccadd51f5592927a21d36f8e75bf39386 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 5 Nov 2013 12:01:24 +0000 Subject: [PATCH] chore(help) add " ", "\n" --- lib/client/help.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/client/help.js b/lib/client/help.js index b8ba278d..5229cd08 100644 --- a/lib/client/help.js +++ b/lib/client/help.js @@ -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(); };