mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 17:04:16 +00:00
feature(util) bind -> exec.with
This commit is contained in:
parent
ec9a78a27a
commit
6b58016616
16 changed files with 61 additions and 60 deletions
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
Rest, Route;
|
||||
|
||||
join = join && Util.bind(join, beforeJoin) || emptyHandler;
|
||||
join = join && Util.exec.with(join, beforeJoin) || emptyHandler;
|
||||
|
||||
/* базовая инициализация */
|
||||
function init(pAppCachProcessing) {
|
||||
|
|
@ -176,7 +176,7 @@
|
|||
]);
|
||||
|
||||
funcs.map(function(func) {
|
||||
return Util.bind(func, req, res);
|
||||
return Util.exec.with(func, req, res);
|
||||
});
|
||||
|
||||
Util.exec.series(funcs);
|
||||
|
|
@ -255,7 +255,7 @@
|
|||
names[i] = minName;
|
||||
}
|
||||
|
||||
funcs.push(Util.bind(minify, name));
|
||||
funcs.push(Util.exec.with(minify, name));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue