mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
New updates and modules
This commit is contained in:
parent
4d5d408898
commit
0abf0f90f6
959 changed files with 364301 additions and 17493 deletions
19
node_modules/argsarray/index.js
generated
vendored
Normal file
19
node_modules/argsarray/index.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = argsArray;
|
||||
|
||||
function argsArray(fun) {
|
||||
return function () {
|
||||
var len = arguments.length;
|
||||
if (len) {
|
||||
var args = [];
|
||||
var i = -1;
|
||||
while (++i < len) {
|
||||
args[i] = arguments[i];
|
||||
}
|
||||
return fun.call(this, args);
|
||||
} else {
|
||||
return fun.call(this, []);
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue