projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tester.html tweak styles WRIS-3
[mkws-moved-to-github.git]
/
examples
/
htdocs
/
mkws-widget-ru.js
diff --git
a/examples/htdocs/mkws-widget-ru.js
b/examples/htdocs/mkws-widget-ru.js
index
2ba8a0d
..
20762f7
100644
(file)
--- a/
examples/htdocs/mkws-widget-ru.js
+++ b/
examples/htdocs/mkws-widget-ru.js
@@
-2,10
+2,10
@@
var mkws_config = {
service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"
};
service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"
};
-mkws.registerWidgetType('ReferenceUniverse', function() {
+mkws.registerWidgetType('reference-universe', function() {
if (!this.config.perpage) this.config.perpage = 5;
if (!this.config.sort) this.config.sort = "position";
if (!this.config.perpage) this.config.perpage = 5;
if (!this.config.sort) this.config.sort = "position";
- this.team.registerTemplate('ReferenceUniverse', '\
+ this.team.registerTemplate('reference-universe', '\
<h2>Results from Reference Universe</h2>\
<ul>\
{{#each hits}}\
<h2>Results from Reference Universe</h2>\
<ul>\
{{#each hits}}\
@@
-27,7
+27,7
@@
mkws.registerWidgetType('ReferenceUniverse', function() {
');
var that = this;
');
var that = this;
- var template = that.team.loadTemplate(that.config.template || "ReferenceUniverse");
+ var template = that.team.loadTemplate(that.config.template || "reference-universe");
this.team.queue("records").subscribe(function(data) {
that.node.html(template(data));
});
this.team.queue("records").subscribe(function(data) {
that.node.html(template(data));
});