From 9045729b4190279596c3078be3d1fd0df7aa7048 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 22 May 2014 14:34:43 +0100 Subject: [PATCH] Use Mindmap widget (which, OK, doesn't exist yet). --- examples/htdocs/mkws-widget-credo.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/htdocs/mkws-widget-credo.js b/examples/htdocs/mkws-widget-credo.js index d0cbfe2..d50f2c3 100644 --- a/examples/htdocs/mkws-widget-credo.js +++ b/examples/htdocs/mkws-widget-credo.js @@ -35,7 +35,7 @@ mkws.registerWidgetType('Credo', function() { s.push(''); s.push(section('mindmap', 'Create a Mind Map for ### title', - '### Is there a way to make a mind-map?')); + this.subwidget('Mindmap', { _team: 'main', facet: 'subject' }))); s.push(section('topics', 'Related Topics', this.subwidget('Facet', { _team: 'main', facet: 'subject' }))); s.push(''); @@ -77,3 +77,8 @@ mkws.registerWidgetType('Credo', function() { return s.join(''); } }); + + +mkws.registerWidgetType('Mindmap', function() { + this.node.html("### We do not yet have a Mindmap widget"); +}); -- 1.7.10.4