From: Mike Taylor Date: Fri, 4 Apr 2014 13:04:48 +0000 (+0100) Subject: All code moved into mkws-widget-record.js X-Git-Tag: 1.0.0~1041 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=76a140c8b9408bafe9d974e8426dcf0326dc6469;p=mkws-moved-to-github.git All code moved into mkws-widget-record.js --- diff --git a/src/mkws-widget-image.js b/src/mkws-widget-image.js deleted file mode 100644 index 8322fb7..0000000 --- a/src/mkws-widget-image.js +++ /dev/null @@ -1,19 +0,0 @@ -mkws.registerWidgetType('Image', function() { - 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.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'; -});