diff --git a/bower.json b/bower.json index ab99a55a8..3ad7d88d2 100644 --- a/bower.json +++ b/bower.json @@ -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", diff --git a/www/kanban/inner.js b/www/kanban/inner.js index 65bf9d1a9..4517c7ccb 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -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',