nooline/nooline

View on GitHub

Showing 3 of 48 total issues

Function enableEditing has 84 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  N.Views.ContentSnippetView.prototype.enableEditing = function () {

    var buttonTag = '<button></button>';
    var panelTag = '<div></div>';
    var panelTextTag = '<span></span>';
Severity: Major
Found in common/js/nooline/views/content-snippet-view/enable-editing.js - About 3 hrs to fix

Function showLoginPanel has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  N.showLoginPanel = function showLoginPanel (e) {

    var $loginButton = $(e.target);
    var $panel = $('<section id="main-login" class="login hidden"></section>');

Severity: Major
Found in common/js/nooline/show-login-panel.js - About 2 hrs to fix

Function matchLogin has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function matchLogin (data, info) {
  
  var errorLogin = require('./error-login');
  var crypto = require('crypto-js/core');
  var startSession = require('./start-session');
Severity: Major
Found in controllers/match-login.js - About 2 hrs to fix
Severity
Category
Status
Source
Language