client/ui.js
File ui.js
has 382 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* global Benchmark localStorage _ */
/*!
* ui.js
* Copyright Mathias Bynens <https://mths.be/>
* Modified by John-David Dalton <http://allyoucanleet.com/>
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function render (index) {
_.each(index == null ? (index = 0, ui.benchmarks) : [ui.benchmarks[index]], function (bench) {
var parsed;
var cell = $(prefix + (++index));
var error = bench.error;