Pull dragula from bower and lint compliance for our jkanban

This commit is contained in:
yflory 2020-05-25 15:15:36 +02:00
parent 5e8fc41b06
commit b881b459c0
2 changed files with 6 additions and 4 deletions

View File

@ -48,7 +48,8 @@
"sortablejs": "^1.6.0",
"saferphore": "^0.0.1",
"jszip": "Stuk/jszip#^3.1.5",
"requirejs-plugins": "^1.0.3"
"requirejs-plugins": "^1.0.3",
"dragula.js": "3.7.2"
},
"resolutions": {
"bootstrap": "^v4.0.0",

View File

@ -18,6 +18,7 @@ define([
'/bower_components/chainpad/chainpad.dist.js',
'/bower_components/marked/marked.min.js',
'cm/lib/codemirror',
'/kanban/jkanban_cp.js',
'cm/mode/gfm/gfm',
@ -27,7 +28,6 @@ define([
'/kanban/jkanban.js',
'css!/kanban/jkanban.css',
'less!/kanban/app-kanban.less'
], function (
@ -49,7 +49,8 @@ define([
DiffMd,
ChainPad,
Marked,
CodeMirror)
CodeMirror,
jKanban)
{
var verbose = function (x) { console.log(x); };
@ -582,7 +583,7 @@ define([
};
var kanban = new window.jKanban({
var kanban = new jKanban({
element: '#cp-app-kanban-content',
gutter: '5px',
widthBoard: '300px',