X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widget-record.js;h=106c8a311f2afc3e8ee6957ee7664e56e45cdef5;hb=c0f0e5c3d34eccc164a6e971843c767a189cf1f3;hp=f1167de543a1f0fd1a1ed68c642240201d230919;hpb=5517706533080442856007ca42e5e2762f93baae;p=mkws-moved-to-github.git diff --git a/src/mkws-widget-record.js b/src/mkws-widget-record.js index f1167de..106c8a3 100644 --- a/src/mkws-widget-record.js +++ b/src/mkws-widget-record.js @@ -1,24 +1,24 @@ mkws.registerWidgetType('Record', function() { - mkws.promotionFunction('Records').call(this); - if (!this.config.maxrecs) this.config.maxrecs = 1; + mkws.promotionFunction('Records').call(this); + if (!this.config.maxrecs) this.config.maxrecs = 1; }); mkws.registerWidgetType('Image', function() { - mkws.promotionFunction('Record').call(this); - if (!this.config.template) this.config.template = 'Image'; + mkws.promotionFunction('Record').call(this); + if (!this.config.template) this.config.template = 'Image'; }); mkws.registerWidgetType('GoogleImage', function() { - mkws.promotionFunction('Image').call(this); - if (!this.config.target) this.config.target = 'Google_Images'; + mkws.promotionFunction('Image').call(this); + if (!this.config.target) this.config.target = 'Google_Images'; }); mkws.registerWidgetType('Lolcat', function() { - mkws.promotionFunction('GoogleImage').call(this); - if (!this.config.autosearch) this.config.autosearch = 'kitteh'; + mkws.promotionFunction('GoogleImage').call(this); + if (!this.config.autosearch) this.config.autosearch = 'kitteh'; }); mkws.registerWidgetType('Coverart', function() { - mkws.promotionFunction('Image').call(this); - if (!this.config.target) this.config.target = 'AmazonBooks'; + mkws.promotionFunction('Image').call(this); + if (!this.config.target) this.config.target = 'AmazonBooks'; });