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-wimp.js
diff --git
a/examples/htdocs/mkws-widget-wimp.js
b/examples/htdocs/mkws-widget-wimp.js
index
6f0dd76
..
89faa3d
100644
(file)
--- a/
examples/htdocs/mkws-widget-wimp.js
+++ b/
examples/htdocs/mkws-widget-wimp.js
@@
-1,12
+1,12
@@
var mkws_config = {
var mkws_config = {
- service_proxy_auth: "http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"
+ service_proxy_auth: "//sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=wimp&password=wimp6363"
};
};
-mkws.registerWidgetType('Wimp', function() {
+mkws.registerWidgetType('wimp', 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('Wimp', '\
-<h2>Results from Reference Universe</h2>\
+ this.team.registerTemplate('wimp', '\
+<h2>Results from Wimp</h2>\
<ul>\
{{#each hits}}\
<li>\
<ul>\
{{#each hits}}\
<li>\
@@
-27,7
+27,7
@@
mkws.registerWidgetType('Wimp', function() {
');
var that = this;
');
var that = this;
- var template = that.team.loadTemplate(that.config.template || "Wimp");
+ var template = that.team.loadTemplate(that.config.template || "wimp");
this.team.queue("records").subscribe(function(data) {
that.node.html(template(data));
});
this.team.queue("records").subscribe(function(data) {
that.node.html(template(data));
});