All code moved into mkws-widget-record.js
authorMike Taylor <mike@indexdata.com>
Fri, 4 Apr 2014 13:04:48 +0000 (14:04 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 4 Apr 2014 13:04:48 +0000 (14:04 +0100)
src/mkws-widget-image.js [deleted file]

diff --git a/src/mkws-widget-image.js b/src/mkws-widget-image.js
deleted file mode 100644 (file)
index 8322fb7..0000000
+++ /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';
-});