js/ServiceQueue.js
Function constructor
has 80 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor: function (config) {
var calls = [], executed = false,
requests = [];
this.autoRefreshInterval = config.autoRefreshInterval || 0;
Function execute
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.execute = function (callback, scope) {
var that = this;
if (this.hasBeenExecuted()) {
if (!this.executionComplete()) {