This commit is contained in:
12
node_modules/licia/partial.js
generated
vendored
Normal file
12
node_modules/licia/partial.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var restArgs = require('./restArgs');
|
||||
var toArr = require('./toArr');
|
||||
exports = restArgs(function(fn, partials) {
|
||||
return function() {
|
||||
var args = [];
|
||||
args = args.concat(partials);
|
||||
args = args.concat(toArr(arguments));
|
||||
return fn.apply(this, args);
|
||||
};
|
||||
});
|
||||
|
||||
module.exports = exports;
|
||||
Reference in New Issue
Block a user