projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better styling for images
[mkws-moved-to-github.git]
/
examples
/
htdocs
/
mkws-widget-credo.js
diff --git
a/examples/htdocs/mkws-widget-credo.js
b/examples/htdocs/mkws-widget-credo.js
index
5f689e2
..
46e9d29
100644
(file)
--- a/
examples/htdocs/mkws-widget-credo.js
+++ b/
examples/htdocs/mkws-widget-credo.js
@@
-14,9
+14,9
@@
mkws.registerWidgetType('Credo', function() {
s.push('<td class="main">');
s.push(section('encyclopaedia', 'Topic Page: ### title',
s.push('<td class="main">');
s.push(section('encyclopaedia', 'Topic Page: ### title',
- this.subwidget('Reference')));
+ this.subwidget('Reference', { _team: 'ref' })));
s.push(section('image', 'Images',
s.push(section('image', 'Images',
- this.subwidget('GoogleImage', { maxrecs: 4 })));
+ this.subwidget('GoogleImage', { _team: 'img', maxrecs: 4 })));
s.push('</td>');
s.push('<td class="side">');
s.push('</td>');
s.push('<td class="side">');