New
authorMike Taylor <mike@indexdata.com>
Thu, 3 Apr 2014 16:12:06 +0000 (17:12 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 3 Apr 2014 16:12:06 +0000 (17:12 +0100)
src/mkws-widget-image.js [new file with mode: 0644]

diff --git a/src/mkws-widget-image.js b/src/mkws-widget-image.js
new file mode 100644 (file)
index 0000000..61bdab1
--- /dev/null
@@ -0,0 +1,4 @@
+mkws.registerWidgetType('Image', function() {
+    mkws.promotionFunction('Record').call(this);
+    if (!this.config.template) this.config.template = 'Image';
+});