mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(util) rm call
This commit is contained in:
parent
5f05bab56f
commit
d60b76fe10
1 changed files with 0 additions and 19 deletions
19
lib/util.js
19
lib/util.js
|
|
@ -80,25 +80,6 @@
|
|||
return text;
|
||||
};
|
||||
|
||||
/**
|
||||
* callback for functions(pError, pData)
|
||||
* thet moves on our parameters.
|
||||
*
|
||||
* @param pFunc
|
||||
* @param pParams
|
||||
*/
|
||||
this.call = function(pFunc, pParams) {
|
||||
function lFunc(pError, pData) {
|
||||
Util.exec(pFunc, {
|
||||
error : pError,
|
||||
data : pData,
|
||||
params : pParams
|
||||
});
|
||||
}
|
||||
|
||||
return lFunc;
|
||||
};
|
||||
|
||||
/**
|
||||
* Функция ищет в имени файла расширение
|
||||
* и если находит возвращает true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue