Add commented-out version of local SP URL.
[mkws-moved-to-github.git] / src / mkws-widget-record.js
1 mkws.registerWidgetType('Record', function() {
2   mkws.promotionFunction('Records').call(this);
3   if (!this.config.maxrecs) this.config.maxrecs = 1;
4 });
5
6 mkws.registerWidgetType('Image', function() {
7   mkws.promotionFunction('Record').call(this);
8   if (!this.config.template) this.config.template = 'Image';
9 });
10
11 mkws.registerWidgetType('GoogleImage', function() {
12   mkws.promotionFunction('Image').call(this);
13   if (!this.config.target) this.config.target = 'Google_Images';
14 });
15
16 mkws.registerWidgetType('Lolcat', function() {
17   mkws.promotionFunction('GoogleImage').call(this);
18   if (!this.config.autosearch) this.config.autosearch = 'kitteh';
19 });
20
21 mkws.registerWidgetType('Coverart', function() {
22   mkws.promotionFunction('Image').call(this);
23   if (!this.config.target) this.config.target = 'AmazonBooks';
24 });