apneadiving/Google-Maps-for-Rails

View on GitHub

Showing 5 of 20 total issues

File gmaps_google.js has 793 lines of code (exceeds 250 allowed). Consider refactoring.
Open

(function() {
  this.Gmaps = {
    build: function(type, options) {
      var model;
      if (options == null) {
Severity: Major
Found in js_compilation/gmaps_google.js - About 1 day to fix

    Function Handler has 161 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      this.Gmaps.Objects.Handler = (function() {
        function Handler(type, options) {
          this.type = type;
          if (options == null) {
            options = {};
    Severity: Major
    Found in js_compilation/gmaps_google.js - About 6 hrs to fix

      Function Marker has 104 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        this.Gmaps.Google.Builders.Marker = (function(_super) {
          __extends(Marker, _super);
      
          Marker.CURRENT_INFOWINDOW = void 0;
      
      
      Severity: Major
      Found in js_compilation/gmaps_google.js - About 4 hrs to fix

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

          this.Gmaps.Google.Primitives = function() {
            var factory;
            factory = {
              point: google.maps.Point,
              size: google.maps.Size,
        Severity: Minor
        Found in js_compilation/gmaps_google.js - About 1 hr to fix

          Function Base has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            this.Gmaps.Base = (function() {
              function Base() {}
          
              Base.extend = function(obj) {
                var key, value, _ref;
          Severity: Minor
          Found in js_compilation/gmaps_google.js - About 1 hr to fix
            Severity
            Category
            Status
            Source
            Language