diff --git a/lib/cloudfunc.js b/lib/cloudfunc.js index 7d04cb98..57e94a1f 100644 --- a/lib/cloudfunc.js +++ b/lib/cloudfunc.js @@ -32,31 +32,6 @@ var Util; this.CHANNEL_TERMINAL_RESIZE= 'terminal-resize'; this.MAX_FILE_SIZE = 500 * 1024; - /** - * ad new line (if it's not) - * @param {string} pText - */ - this.addNewLine = function(text) { - var newLine = '', - n = text && text.length; - - if(n && text[n-1] !== '\n') - newLine = '\n'; - - return text + newLine; - }; - - /** - * rm new line (if it's) - * @param {string} pText - */ - this.rmNewLine = function(text) { - var strs = ['\n', '\r'], - str = Util.rmStr(text, strs); - - return str; - }; - this.getStrBigFirst = function(str) { var isStr = Util.type.string(str), ret = str;