1 var mkws_config = {service_proxy_auth: "http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"};
2 console.log(JSON.stringify(mkws.config));
4 mkws.registerWidgetType('ReferenceUniverse', function() {
5 if (!this.config.perpage) this.config.perpage = 5;
6 if (!this.config.sort) this.config.sort = "position";
7 this.config.template = 'ReferenceUniverse';
8 this.team.registerTemplate('ReferenceUniverse', '\
9 {{#mkws-first md-electronic-url}}\
14 {{#if md-title-remainder}}\
15 <span>{{md-title-remainder}}</span>\
17 {{#if md-title-responsibility}}\
18 <span><i>{{md-title-responsibility}}</i></span>\
21 this.node.html("<h2>Reference Universe results:</h2>\n" +
22 this.subwidget('Records'));