mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 03:28:07 +00:00
fixed travis errors
This commit is contained in:
parent
194bc86ee0
commit
df920fd810
6
dist/web3-light.js
vendored
6
dist/web3-light.js
vendored
@ -2249,7 +2249,7 @@ var toTwosComplement = function (number) {
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isStrictAddress = function (address) {
|
||||
return /^0x[0-9a-f]{40}$/.test(address);
|
||||
return /^0x[0-9a-f]{40}$/i.test(address);
|
||||
};
|
||||
|
||||
/**
|
||||
@ -2260,7 +2260,7 @@ var isStrictAddress = function (address) {
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isAddress = function (address) {
|
||||
return /^(0x)?[0-9a-f]{40}$/.test(address);
|
||||
return /^(0x)?[0-9a-f]{40}$/i.test(address);
|
||||
};
|
||||
|
||||
/**
|
||||
@ -5911,7 +5911,7 @@ RequestManager.prototype.poll = function () {
|
||||
if (!utils.isArray(results)) {
|
||||
throw errors.InvalidResponse(results);
|
||||
}
|
||||
results.map(function (result, index) {
|
||||
results.map(function (result) {
|
||||
var id = pollsIdMap[result.id];
|
||||
|
||||
// make sure the filter is still installed after arrival of the request
|
||||
|
4
dist/web3-light.min.js
vendored
4
dist/web3-light.min.js
vendored
File diff suppressed because one or more lines are too long
6
dist/web3.js
vendored
6
dist/web3.js
vendored
@ -2249,7 +2249,7 @@ var toTwosComplement = function (number) {
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isStrictAddress = function (address) {
|
||||
return /^0x[0-9a-f]{40}$/.test(address);
|
||||
return /^0x[0-9a-f]{40}$/i.test(address);
|
||||
};
|
||||
|
||||
/**
|
||||
@ -2260,7 +2260,7 @@ var isStrictAddress = function (address) {
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isAddress = function (address) {
|
||||
return /^(0x)?[0-9a-f]{40}$/.test(address);
|
||||
return /^(0x)?[0-9a-f]{40}$/i.test(address);
|
||||
};
|
||||
|
||||
/**
|
||||
@ -5911,7 +5911,7 @@ RequestManager.prototype.poll = function () {
|
||||
if (!utils.isArray(results)) {
|
||||
throw errors.InvalidResponse(results);
|
||||
}
|
||||
results.map(function (result, index) {
|
||||
results.map(function (result) {
|
||||
var id = pollsIdMap[result.id];
|
||||
|
||||
// make sure the filter is still installed after arrival of the request
|
||||
|
4
dist/web3.js.map
vendored
4
dist/web3.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/web3.min.js
vendored
4
dist/web3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -244,7 +244,7 @@ RequestManager.prototype.poll = function () {
|
||||
if (!utils.isArray(results)) {
|
||||
throw errors.InvalidResponse(results);
|
||||
}
|
||||
results.map(function (result, index) {
|
||||
results.map(function (result) {
|
||||
var id = pollsIdMap[result.id];
|
||||
|
||||
// make sure the filter is still installed after arrival of the request
|
||||
|
Loading…
x
Reference in New Issue
Block a user