Part of MKWS-348.
authorMike Taylor <mike@indexdata.com>
Mon, 12 Jan 2015 17:34:39 +0000 (17:34 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 12 Jan 2015 17:34:39 +0000 (17:34 +0000)
Remove all content of old examples/htdocs/mkws-widget-ru.js.
Replace with a comment.

examples/htdocs/mkws-widget-ru.js

index b616b33..05a5c14 100644 (file)
@@ -1,33 +1,2 @@
-mkws.registerWidgetType('reference-universe', function() {
-  if (!this.config.target) this.config.target = 'paratext_ruprime';
-  if (!this.config.perpage) this.config.perpage = 5;
-  if (!this.config.sort) this.config.sort = "position";
-  this.team.registerTemplate('reference-universe', '\
-<h2>Results from Reference Universe</h2>\
-<ul>\
-{{#each hits}}\
-  <li>\
-    {{#mkws-first md-electronic-url}}\
-    <a href="{{this}}">\
-    {{/mkws-first}}\
-      {{md-title}}\
-    </a>\
-  {{#if md-title-remainder}}\
-    <span>{{md-title-remainder}}</span>\
-  {{/if}}\
-  {{#if md-title-responsibility}}\
-    <span><i>{{md-title-responsibility}}</i></span>\
-  {{/if}}\
-  </li>\
-{{/each}}\
-</ul>\
-');
-
-  var that = this;
-  var template = that.team.loadTemplate(that.config.template || "reference-universe");
-  this.team.queue("records").subscribe(function(data) {
-    that.node.html(template(data));
-  }); 
-  that.autosearch();
-});
-
+// It is no longer necessary to include this file.
+// The Reference Universe widget is included in mkws-complete.js