mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(cloudfunc) rm rmFirstSlash
This commit is contained in:
parent
c7e486d3e3
commit
329df3e5c6
1 changed files with 0 additions and 10 deletions
|
|
@ -91,16 +91,6 @@ var Util;
|
|||
return path;
|
||||
};
|
||||
|
||||
this.rmFirstSlash = function(str) {
|
||||
var ret = str,
|
||||
isContain = Util.isContainStrAtBegin(str, '/');
|
||||
|
||||
if (isContain)
|
||||
ret = Util.rmStrOnce(str, '/');
|
||||
|
||||
return ret;
|
||||
};
|
||||
|
||||
/** Функция возвращает заголовок веб страницы
|
||||
* @pPath
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue