common/js/nooline/build-controls.js
Function buildControls
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
N.buildControls = function buildControls (data) {
var allSnippets = N.contentCategories.findAllContent();
var permissions = {};
- Create a ticketCreate a ticket
Function addPermission
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_.each(data.permissions, function addPermission (permission) {
permissions[permission] = true;
_.each(N.controls['control-locations'],
- Create a ticketCreate a ticket
Function addControl
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addControl (types, spot) {
var $button;
var $container;
- Create a ticketCreate a ticket