Add files

This commit is contained in:
DoomRye 2022-07-26 10:06:20 -07:00
commit bb80829159
18195 changed files with 2122994 additions and 0 deletions

View file

@ -0,0 +1,35 @@
module.exports = function(){
'use strict';
var fns = {}
return function(len){
if ( ! fns [len ] ) {
var args = []
var i = 0
for (; i < len; i++ ) {
args.push( 'a[' + i + ']')
}
fns[len] = new Function(
'c',
'a',
'return new c(' + args.join(',') + ')'
)
}
return fns[len]
}
}()
//////////////////
// WEBPACK FOOTER
// ./~/newify/getInstantiatorFunction.js
// module id = 2619
// module chunks = 4

View file

@ -0,0 +1,12 @@
var getInstantiatorFunction = require('./getInstantiatorFunction')
module.exports = function(fn, args){
return getInstantiatorFunction(args.length)(fn, args)
}
//////////////////
// WEBPACK FOOTER
// ./~/newify/index.js
// module id = 2620
// module chunks = 4