X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widget-image.js;h=8322fb70834e45f434198e8d212bb46c77886ecc;hb=5517706533080442856007ca42e5e2762f93baae;hp=c6d96f1dde112cf2a569eef872e4d5aa76dd4b7e;hpb=9ea3766d69749cbe9a6ac3302e57327ffe123c85;p=mkws-moved-to-github.git diff --git a/src/mkws-widget-image.js b/src/mkws-widget-image.js index c6d96f1..8322fb7 100644 --- a/src/mkws-widget-image.js +++ b/src/mkws-widget-image.js @@ -7,3 +7,13 @@ mkws.registerWidgetType('GoogleImage', function() { 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.registerWidgetType('Coverart', function() { + mkws.promotionFunction('Image').call(this); + if (!this.config.target) this.config.target = 'AmazonBooks'; +});