jrief/angular-retina

View on GitHub

Showing 3 of 9 total issues

Function exports has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (grunt) {

    // Project configuration.
    grunt.initConfig({
        // Metadata.
Severity: Major
Found in Gruntfile.js - About 2 hrs to fix

    Function exports has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function(config) {
      config.set({
        basePath: '',
        frameworks: ['jasmine'],
        files: [
    Severity: Minor
    Found in karma.conf.js - About 1 hr to fix

      Function set2xVariant has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

            function set2xVariant(imageUrl) {
              var imageUrl2x = get2xImageURL(imageUrl);
      
              if (!imageUrl2x) {
                imageUrl2x = getHighResolutionURL(imageUrl);
      Severity: Minor
      Found in lib/angular-retina.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language