ciawalsh/iamME

View on GitHub

Showing 2 of 5 total issues

Function hoverpulse has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.fn.hoverpulse = function(options) {
    // in 1.3+ we can fix mistakes with the ready state
    if (this.length == 0) {
        if (!$.isReady && this.selector) {
            var s = this.selector, c = this.context;
Severity: Minor
Found in app/assets/javascripts/hoverPulse.js - About 1 hr to fix

    Function initialize has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function initialize() {
    
        $('.map').click(function() {
          var widget = $(this).closest("[class^='widget']").find('#map-canvas').get(0);
          $(widget).show();
    Severity: Minor
    Found in app/assets/javascripts/map/gmap.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language