From cb52a479e05bc59572d5eead8abe511408b3af24 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 30 Apr 2015 10:52:06 +0200 Subject: [PATCH] fix(palette): add missing create feature --- lib/features/context-pad/index.js | 1 - lib/features/palette/index.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/features/context-pad/index.js b/lib/features/context-pad/index.js index cb9bfdb4..6fb58399 100644 --- a/lib/features/context-pad/index.js +++ b/lib/features/context-pad/index.js @@ -5,7 +5,6 @@ module.exports = { require('diagram-js/lib/features/selection'), require('diagram-js/lib/features/connect'), require('diagram-js/lib/features/create'), - require('../modeling'), require('../replace') ], __init__: [ 'contextPadProvider' ], diff --git a/lib/features/palette/index.js b/lib/features/palette/index.js index bb2916b3..9a350832 100644 --- a/lib/features/palette/index.js +++ b/lib/features/palette/index.js @@ -1,6 +1,7 @@ module.exports = { __depends__: [ - require('diagram-js/lib/features/palette') + require('diagram-js/lib/features/palette'), + require('diagram-js/lib/features/create') ], __init__: [ 'paletteProvider' ], paletteProvider: [ 'type', require('./PaletteProvider') ]