[#340] jshint cleanup of view.flot.js

This commit is contained in:
John Glover 2013-04-15 17:11:54 +02:00
parent c4bdca79ad
commit bada4a877b

View File

@ -214,7 +214,7 @@ my.Flot = Backbone.View.extend({
var increment = this.model.records.length / numTicks;
var ticks = [];
for (i=0; i<numTicks; i++) {
ticks.push(parseInt(i*increment));
ticks.push(parseInt(i*increment, 10));
}
xaxis.ticks = ticks;
}