Chris Leonello avatar Chris Leonello committed ea87692

cleaned up some lint

Comments (0)

Files changed (3)

src/jqplot.linearTickGenerator.js

         r[2] = Math.round((r[1]-r[0])/ss+1);    // number of ticks
         r[3] = bestFormatString(ss);            // format string
         r[4] = ss;                              // tick Interval
-        //console.log('min: %s, max: %s, numTicks: %s, rawNumTicks: %s, tickInterval: %s', r[0], r[1], r[2], (r[1]-r[0])/ss+1, r[4]);
         return r;
-    }
+    };
 
 })(jQuery);
 +missing_break                # missing break statement
 +missing_break_for_last_case  # missing break statement for last case in switch
 -comparison_type_conv         # comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
-+inc_dec_within_stmt          # increment (++) and decrement (--) operators used as part of greater statement
+-inc_dec_within_stmt          # increment (++) and decrement (--) operators used as part of greater statement
 +useless_void                 # use of the void type may be unnecessary (void is always undefined)
 +multiple_plus_minus          # unknown order of operations for successive plus (e.g. x+++y) or minus (e.g. x---y) signs
 +use_of_label                 # use of label
 +useless_assign               # useless assignment
 +ambiguous_nested_stmt        # block statements containing block statements should use curly braces to resolve ambiguity
 +ambiguous_else_stmt          # the else statement could be matched with one of multiple if statements (use curly braces to indicate intent)
-+missing_default_case         # missing default case in switch statement
+-missing_default_case         # missing default case in switch statement
 +duplicate_case_in_switch     # duplicate case in switch statements
 +default_not_at_end           # the default case is not at the end of the switch statement
 +legacy_cc_not_understood     # couldn't understand control comment using /*@keyword@*/ syntax
 +with_statement               # with statement hides undeclared variables; use temporary variable instead
 +trailing_comma_in_array      # extra comma is not recommended in array initializers
 +assign_to_function_call      # assignment to a function call
-+parseint_missing_radix       # parseInt missing radix parameter
+-parseint_missing_radix       # parseInt missing radix parameter
 
 
 ### Output format
 +process jqplot.axisTickRenderer.js
 +process jqplot.canvasGridRenderer.js
 +process jqplot.core.js
-+process jsdate.js
 +process jqplot.divTitleRenderer.js
 +process jqplot.linearAxisRenderer.js
++process jqplot.linearTickGenerator.js
 +process jqplot.lineRenderer.js
 +process jqplot.markerRenderer.js
 +process jqplot.shadowRenderer.js
 +process jqplot.tableLegendRenderer.js
 +process jqplot.themeEngine.js
 +process jquery.jqplot.js
-+process jqplot.json2.js
++process jsdate.js
 +process plugins/*.js

src/plugins/jqplot.pieRenderer.js

         }
         
         $.extend(true, this, options);
-        if (this.diameter != null) {
-            // this.diameter = this.diameter - this.sliceMargin;
-        }
         this._diameter = null;
         this._radius = null;
         // array of [start,end] angles arrays, one for each slice.  In radians.
         var mindim = Math.min(w,h);
         var d = mindim;
         // this._diameter = this.diameter || d;
-        this._diameter = this.diameter  || d // - this.sliceMargin;
+        this._diameter = this.diameter  || d; // - this.sliceMargin;
 
         var r = this._radius = this._diameter/2;
         var sa = this.startAngle / 180 * Math.PI;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.