Showing 5 of 34 total issues
Function $get
has 340 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = ['$q', '$http', '$window', function ($q, $http, $window) {
function NgSpotify () {
this.clientId = settings.clientId;
this.redirectUri = settings.redirectUri;
File angular-spotify.js
has 385 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function (window, angular, undefined) {
'use strict';
angular
.module('spotify', [])
Function exports
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
// Load grunt tasks automatically
require('load-grunt-tasks')(grunt);
Function login
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
login: function () {
var deferred = $q.defer();
var that = this;
var w = 400,
Function api
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
api: function (endpoint, method, params, data, headers) {