Showing 7 of 73 total issues
File main.js
has 574 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require.config({ paths: { bootstrap: './vendor/bootstrap.min', diffMatchPatch: './vendor/diff_match_patch.min', handlebars: './vendor/handlebars.min',
File api_data.js
has 460 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
define({ "api": [ { "type": "post", "url": "/auth/", "title": "POST /auth/",
Function sendSampleRequest
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function sendSampleRequest(group, name, version, type) { var $root = $('article[data-group="' + group + '"][data-name="' + name + '"][data-version="' + version + '"]'); // Optional header
Function changeVersionCompareTo
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function changeVersionCompareTo(e) { e.preventDefault(); var $root = $(this).parents('article'); var selectedVersion = $(this).html();
Function _handlebarsEachCompared
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _handlebarsEachCompared(fieldname, source, compare, options) { var dataList = []; var index = 0; if(source) {
Function add_nav
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add_nav(nav, content, index) { var found_level1 = false; if ( ! content) { return found_level1; }
Function initDynamic
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initDynamic() { // Bootstrap popover $('button[data-toggle="popover"]').popover().click(function(e) { e.preventDefault(); });