fixed travis errors

This commit is contained in:
Fabian Vogelsteller 2015-09-15 10:55:06 +02:00
parent 194bc86ee0
commit df920fd810
6 changed files with 13 additions and 13 deletions

6
dist/web3-light.js vendored
View File

@ -2249,7 +2249,7 @@ var toTwosComplement = function (number) {
* @return {Boolean} * @return {Boolean}
*/ */
var isStrictAddress = function (address) { 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} * @return {Boolean}
*/ */
var isAddress = function (address) { 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)) { if (!utils.isArray(results)) {
throw errors.InvalidResponse(results); throw errors.InvalidResponse(results);
} }
results.map(function (result, index) { results.map(function (result) {
var id = pollsIdMap[result.id]; var id = pollsIdMap[result.id];
// make sure the filter is still installed after arrival of the request // make sure the filter is still installed after arrival of the request

File diff suppressed because one or more lines are too long

6
dist/web3.js vendored
View File

@ -2249,7 +2249,7 @@ var toTwosComplement = function (number) {
* @return {Boolean} * @return {Boolean}
*/ */
var isStrictAddress = function (address) { 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} * @return {Boolean}
*/ */
var isAddress = function (address) { 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)) { if (!utils.isArray(results)) {
throw errors.InvalidResponse(results); throw errors.InvalidResponse(results);
} }
results.map(function (result, index) { results.map(function (result) {
var id = pollsIdMap[result.id]; var id = pollsIdMap[result.id];
// make sure the filter is still installed after arrival of the request // make sure the filter is still installed after arrival of the request

4
dist/web3.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/web3.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -244,7 +244,7 @@ RequestManager.prototype.poll = function () {
if (!utils.isArray(results)) { if (!utils.isArray(results)) {
throw errors.InvalidResponse(results); throw errors.InvalidResponse(results);
} }
results.map(function (result, index) { results.map(function (result) {
var id = pollsIdMap[result.id]; var id = pollsIdMap[result.id];
// make sure the filter is still installed after arrival of the request // make sure the filter is still installed after arrival of the request