415gotit
This commit is contained in:
11
node_modules/msgpack-lite/lib/buffer-global.js
generated
vendored
Normal file
11
node_modules/msgpack-lite/lib/buffer-global.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/* globals Buffer */
|
||||
|
||||
module.exports =
|
||||
c(("undefined" !== typeof Buffer) && Buffer) ||
|
||||
c(this.Buffer) ||
|
||||
c(("undefined" !== typeof window) && window.Buffer) ||
|
||||
this.Buffer;
|
||||
|
||||
function c(B) {
|
||||
return B && B.isBuffer && B;
|
||||
}
|
||||
Reference in New Issue
Block a user