Remove UpperCase widget.
authorMike Taylor <mike@indexdata.com>
Mon, 28 Apr 2014 16:26:38 +0000 (17:26 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 28 Apr 2014 16:26:38 +0000 (17:26 +0100)
src/mkws-widgets.js

index d360730..176e45c 100644 (file)
@@ -339,15 +339,5 @@ mkws.registerWidgetType('Switch', function() {
     $(this.node).html('\
 <a href="#" onclick="mkws.switchView(\'' + tname + '\', \'records\')">Records</a><span> \
 | \
-</span><a href="#" onclick="mkws.switchView(\'' + tname + '\', \'targets\')">Targets</a> \
-<div class="mkwsUpperCase">foo</div>\
-');
+</span><a href="#" onclick="mkws.switchView(\'' + tname + '\', \'targets\')">Targets</a>');
 });
-
-
-mkws.registerWidgetType('UpperCase', function() {
-    var text = $(this.node).html();
-    $(this.node).html(text.toUpperCase());
-});
-
-