mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
minor changes
This commit is contained in:
parent
3afff6ac45
commit
4aad8788dc
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ CloudFunc.convertPermissionsToNumberic= function(pPerm_s){
|
|||
*/
|
||||
CloudFunc.getShortedSize = function(pSize){
|
||||
/* if pSize=0 - return it */
|
||||
if (pSize != pSize-0) return pSize;
|
||||
if (pSize !== pSize-0) return pSize;
|
||||
|
||||
/* Константы размеров, что используются
|
||||
* внутри функции
|
||||
|
|
@ -278,7 +278,7 @@ CloudFunc.checkExtension=function(pName,pExt)
|
|||
* длинны расширения -
|
||||
* имеет смысл продолжать
|
||||
*/
|
||||
if (typeof pExt == 'string' &&
|
||||
if (typeof pExt === 'string' &&
|
||||
pName.length > pExt.length) {
|
||||
var lLength = pName.length; /* длина имени*/
|
||||
var lExtNum = pName.lastIndexOf(pExt); /* последнее вхождение расширения*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue