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

Results from Reference Universe

\ -\ -'); - - var that = this; - var template = that.team.loadTemplate(that.config.template || "ReferenceUniverse"); - 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