mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
chore(util) add " "
This commit is contained in:
parent
97689e6c75
commit
24e4c776f4
1 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@
|
|||
* ad new line (if it's not)
|
||||
* @param {string} pText
|
||||
*/
|
||||
this.addNewLine = function(pText){
|
||||
this.addNewLine = function(pText) {
|
||||
var lNewLine = '',
|
||||
n = pText && pText.length;
|
||||
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
* rm new line (if it's)
|
||||
* @param {string} pText
|
||||
*/
|
||||
this.rmNewLine = function(pText){
|
||||
this.rmNewLine = function(pText) {
|
||||
var strs = ['\n', '\r'],
|
||||
text = Util.removeStr(pText, strs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue