🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
16
node_modules/events/tests/legacy-compat.js
generated
vendored
Normal file
16
node_modules/events/tests/legacy-compat.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// sigh... life is hard
|
||||
if (!global.console) {
|
||||
console = {}
|
||||
}
|
||||
|
||||
var fns = ['log', 'error', 'trace'];
|
||||
for (var i=0 ; i<fns.length ; ++i) {
|
||||
var fn = fns[i];
|
||||
if (!console[fn]) {
|
||||
console[fn] = function() {};
|
||||
}
|
||||
}
|
||||
|
||||
if (!Array.isArray) {
|
||||
Array.isArray = require('isarray');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue