Initial hDiyanetProxy backend scaffold (Express + MySQL + Diyanet setup)
This commit is contained in:
12
node_modules/underscore/cjs/pipe.js
generated
vendored
Normal file
12
node_modules/underscore/cjs/pipe.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var restArguments = require('./restArguments.js');
|
||||
var reduce = require('./reduce.js');
|
||||
|
||||
function nextValue(previous, func) {
|
||||
return func(previous);
|
||||
}
|
||||
|
||||
var pipe = restArguments(function(value, funcs) {
|
||||
return reduce(funcs, nextValue, value);
|
||||
});
|
||||
|
||||
module.exports = pipe;
|
||||
Reference in New Issue
Block a user