ore/public/javascripts/channelManage.js
Function initChannelManager
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initChannelManager(toggle, channelName, channelHex, title, call, method, submit, nonReviewed) {
$(toggle).off('click'); // Unbind previous click handlers
$(toggle).click(function() {
var modal = getModal();
var preview = modal.find('.preview');
Function initColorPicker
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initColorPicker() {
var modal = getModal();
// Initialize popover to stay opened when hovered over
modal.find(".color-picker").popover({
html: true,
Function initChannelManager
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function initChannelManager(toggle, channelName, channelHex, title, call, method, submit, nonReviewed) {
Function onCustomSubmit
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var onCustomSubmit = function(toggle, channelName, channelHex, title, submit, nonReviewed) {