Remove demos that have moved to the demos repo.
[mkws-moved-to-github.git] / examples / htdocs / mkws-widget-wimp.js
diff --git a/examples/htdocs/mkws-widget-wimp.js b/examples/htdocs/mkws-widget-wimp.js
deleted file mode 100644 (file)
index 89faa3d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-var mkws_config = {
-   service_proxy_auth: "//sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=wimp&password=wimp6363"
-};
-
-mkws.registerWidgetType('wimp', function() {
-  if (!this.config.perpage) this.config.perpage = 5;
-  if (!this.config.sort) this.config.sort = "position";
-  this.team.registerTemplate('wimp', '\
-<h2>Results from Wimp</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 || "wimp");
-  this.team.queue("records").subscribe(function(data) {
-    that.node.html(template(data));
-  }); 
-  that.autosearch();
-});
-