From: Mike Taylor Date: Tue, 20 May 2014 11:54:03 +0000 (+0100) Subject: Comment out all widgets but Reference and GoogleImage. X-Git-Tag: 1.0.0~636 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=367c9dcf7040bd02c6c2cf45762879ec78e5e07f Comment out all widgets but Reference and GoogleImage. --- diff --git a/examples/htdocs/mkws-widget-credo.js b/examples/htdocs/mkws-widget-credo.js index 21a0363..5f689e2 100644 --- a/examples/htdocs/mkws-widget-credo.js +++ b/examples/htdocs/mkws-widget-credo.js @@ -16,28 +16,28 @@ mkws.registerWidgetType('Credo', function() { s.push(section('encyclopaedia', 'Topic Page: ### title', this.subwidget('Reference'))); s.push(section('image', 'Images', - this.subwidget('Images', { /* ### config */ }))); + this.subwidget('GoogleImage', { maxrecs: 4 }))); s.push(''); s.push(''); s.push(section('mindmap', 'Create a Mind Map for ### title', '### Is there a way to make a mind-map?')); s.push(section('topics', 'Related Topics', - this.subwidget('Facet', { facet: 'subject' }))); + 1 || this.subwidget('Facet', { facet: 'subject' }))); s.push(''); s.push(''); s.push(sectionRow('entries', 'Credo Entries', - this.subwidget('Records', { /* ### config */ }))); + 1 || this.subwidget('Records', { /* ### config */ }))); s.push(sectionRow('articles', 'Articles', - this.subwidget('Records', { /* ### config */ }))); + 1 || this.subwidget('Records', { /* ### config */ }))); s.push(sectionRow('books', 'Books', - this.subwidget('Records', { /* ### config */ }))); + 1 || this.subwidget('Records', { /* ### config */ }))); s.push(sectionRow('news', 'News', - this.subwidget('Records', { /* ### config */ }))); + 1 || this.subwidget('Records', { /* ### config */ }))); s.push(sectionRow('resources', 'Suggested Resources', - this.subwidget('Records', { /* ### config */ }))); + 1 || this.subwidget('Records', { /* ### config */ }))); s.push('');