use directories for structure

This commit is contained in:
s2
2020-05-26 10:37:57 +02:00
parent 66580d4847
commit ae4aaf2668
1287 changed files with 92093 additions and 13113 deletions

8
node_modules/ensure-array/ensure-array.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
module.exports = function ensureArray(a, b, n) {
if (arguments.length === 0) return []; // no args, ret []
if (arguments.length === 1) { // single argument
if (a === undefined || a === null) return []; // undefined or null, ret []
if (Array.isArray(a)) return a; // isArray, return it
}
return Array.prototype.slice.call(arguments); // return array with copy of all arguments
}