mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Code refactoring
This commit is contained in:
parent
f817a680a2
commit
d8c9f7ec14
15 changed files with 469 additions and 189 deletions
|
|
@ -90,6 +90,15 @@
|
|||
return Utils.isNormal(mValue) ? '' + mValue : '';
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {*} mValue
|
||||
* @return {boolean}
|
||||
*/
|
||||
Utils.pBool = function (mValue)
|
||||
{
|
||||
return !!mValue;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} sComponent
|
||||
* @return {string}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue