From 367c9dcf7040bd02c6c2cf45762879ec78e5e07f Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 20 May 2014 12:54:03 +0100 Subject: [PATCH] Comment out all widgets but Reference and GoogleImage. --- examples/htdocs/mkws-widget-credo.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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(''); -- 1.7.10.4