add comlexity push for poll, does only show on travis

This commit is contained in:
Fabian Vogelsteller 2015-06-08 15:18:48 +02:00
parent 1aefebd78f
commit 1495a0c67c
5 changed files with 7 additions and 4 deletions

1
dist/web3-light.js vendored
View File

@ -3906,6 +3906,7 @@ RequestManager.prototype.reset = function () {
* @method poll * @method poll
*/ */
RequestManager.prototype.poll = function () { RequestManager.prototype.poll = function () {
/*jshint maxcomplexity: 6 */
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT); this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
if (this.polls === {}) { if (this.polls === {}) {

File diff suppressed because one or more lines are too long

1
dist/web3.js vendored
View File

@ -3906,6 +3906,7 @@ RequestManager.prototype.reset = function () {
* @method poll * @method poll
*/ */
RequestManager.prototype.poll = function () { RequestManager.prototype.poll = function () {
/*jshint maxcomplexity: 6 */
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT); this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
if (this.polls === {}) { if (this.polls === {}) {

4
dist/web3.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -196,6 +196,7 @@ RequestManager.prototype.reset = function () {
* @method poll * @method poll
*/ */
RequestManager.prototype.poll = function () { RequestManager.prototype.poll = function () {
/*jshint maxcomplexity: 6 */
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT); this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
if (this.polls === {}) { if (this.polls === {}) {