X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=examples%2Fhtdocs%2Fmkws-widget-ru.js;h=05a5c14b3f9f9da828955295ebe3f717673f71ca;hb=7d7a5862b72296ef76b6f4f5cfb7b0e89147b6a3;hp=20762f7cc98ffb34857d6615c83f2e1a938fd33f;hpb=234e59a65f5e9aeedd87d9b54088556b56429b25;p=mkws-moved-to-github.git diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index 20762f7..05a5c14 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -1,36 +1,2 @@ -var mkws_config = { - service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc" -}; - -mkws.registerWidgetType('reference-universe', function() { - if (!this.config.perpage) this.config.perpage = 5; - if (!this.config.sort) this.config.sort = "position"; - this.team.registerTemplate('reference-universe', '\ -

Results from Reference Universe

\ -\ -'); - - 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