0.3.3 外网下载修复
This commit is contained in:
@@ -160,7 +160,7 @@ function fromByteArray (uint8) {
|
||||
* @author Feross Aboukhadijeh <http://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
/* eslint-disable no-proto */
|
||||
|
||||
|
||||
'use strict'
|
||||
|
||||
@@ -478,7 +478,7 @@ function checked (length) {
|
||||
}
|
||||
|
||||
function SlowBuffer (length) {
|
||||
if (+length != length) { // eslint-disable-line eqeqeq
|
||||
if (+length != length) {
|
||||
length = 0
|
||||
}
|
||||
return Buffer.alloc(+length)
|
||||
@@ -1941,7 +1941,7 @@ function blitBuffer (src, dst, offset, length) {
|
||||
}
|
||||
|
||||
function isnan (val) {
|
||||
return val !== val // eslint-disable-line no-self-compare
|
||||
return val !== val
|
||||
}
|
||||
|
||||
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
||||
|
||||
Reference in New Issue
Block a user