X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=examples%2Fhtdocs%2Fmkws-widget-ru.js;h=05a5c14b3f9f9da828955295ebe3f717673f71ca;hb=8276d1fb61f2e4b640e1d3c0c254c57d2de0f6bc;hp=b2ee81208d8ba389889a2278e02512936db7ea6e;hpb=b058cb3471f068e2ac05d12c70ec481d0b2ca0b9;p=mkws-moved-to-github.git diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index b2ee812..05a5c14 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -1,34 +1,2 @@ -var mkws_config = { sp_auth_credentials: "paratext/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