From fd5e3b0fd5d41c23ce7b1f512ac0864c709e60a5 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 3 Mar 2020 17:42:08 +0100 Subject: [PATCH] lint compliance --- www/kanban/inner.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/www/kanban/inner.js b/www/kanban/inner.js index f086a07f1..4f87943ae 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -50,8 +50,6 @@ define([ var verbose = function (x) { console.log(x); }; verbose = function () {}; // comment out to enable verbose logging - var COLORS = ['yellow', 'green', 'orange', 'blue', 'red', 'purple', 'cyan', 'lightgreen', 'lightblue']; - Messages.kanban_title = "Title"; // XXX Messages.kanban_body = "Body"; // XXX Messages.kanban_color = "Color"; // XXX @@ -75,7 +73,7 @@ define([ addEditItemButton(framework, kanban); }; if (editModal) { return editModal; } - var titleInput, tagsDiv, color, text; + var titleInput, tagsDiv, colors, text; var content = h('div', [ h('label', {for:'cp-kanban-edit-title'}, Messages.kanban_title), titleInput = h('input#cp-kanban-edit-title'), @@ -197,7 +195,7 @@ define([ _field.tokenfield.on('tokenfield:editedoken', commitTags); _field.tokenfield.on('tokenfield:removedtoken', commitTags); } - } + }; // Colors var $colors = $(colors);