mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-29 02:30:28 +00:00
minor changes
This commit is contained in:
parent
94acf9ffdc
commit
8f3cff06e1
2 changed files with 14 additions and 14 deletions
|
|
@ -268,19 +268,6 @@ CloudFunc._getDirPath=function(url)
|
|||
return lHtmlPath;
|
||||
};
|
||||
|
||||
/*
|
||||
* Function gets id by src
|
||||
* from http://domain.com/1.js to
|
||||
* 1_js
|
||||
*/
|
||||
CloudFunc._getIdBySrc = function(pSrc){
|
||||
var lID=pSrc.replace(pSrc.substr(pSrc,
|
||||
pSrc.lastIndexOf('/')+1),
|
||||
'');
|
||||
/* убираем точку*/
|
||||
return lID.replace('.','_');
|
||||
};
|
||||
|
||||
/*
|
||||
* Функция ищет в имени файла расширение
|
||||
* и если находит возвращает true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue