feature(util) bind -> exec.with

This commit is contained in:
coderaiser 2014-05-23 07:55:24 -04:00
parent ec9a78a27a
commit 6b58016616
16 changed files with 61 additions and 60 deletions

View file

@ -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));
}
}