Showing 23 of 45 total issues
Avoid deeply nested control flow statements. Open
Open
if (error && tracker.queue.length > 0) {
tracker.tracesPending.push(data);
callback('Can\'t send Traces', true);
}else {
callback('Everything OK', false);
Function HttpRequest
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.HttpRequest = function(url, method, headers, body, success, error) {
Function Looked
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.Looked = function(placeId, type, orientation, latitude, longitude) {