projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b3ff17
)
New
author
Mike Taylor
<mike@indexdata.com>
Thu, 3 Apr 2014 16:12:06 +0000
(17:12 +0100)
committer
Mike 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]
patch
|
blob
diff --git a/src/mkws-widget-image.js
b/src/mkws-widget-image.js
new file mode 100644
(file)
index 0000000..
61bdab1
--- /dev/null
+++ b/
src/mkws-widget-image.js
@@ -0,0
+1,4
@@
+mkws.registerWidgetType('Image', function() {
+ mkws.promotionFunction('Record').call(this);
+ if (!this.config.template) this.config.template = 'Image';
+});