X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=examples%2Fhtdocs%2Fmkws-widget-ru.js;h=05a5c14b3f9f9da828955295ebe3f717673f71ca;hp=b616b33b6177b54bb066f332dbfef43e38c85a68;hb=b8e2741f67c48bf178d76ff3bce0fbe095bb9423;hpb=bbffdf888607ac625deb9a7fa699dc6ca7b053bd diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index b616b33..05a5c14 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -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', '\ -

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