projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96e7ca
)
Move mkws.facetConfig into mkws-widget-termlists.js, the only place that needs it.
author
Mike Taylor
<mike@indexdata.com>
Mon, 7 Apr 2014 15:58:03 +0000
(16:58 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 7 Apr 2014 15:58:03 +0000
(16:58 +0100)
src/mkws-widget-termlists.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-termlists.js
b/src/mkws-widget-termlists.js
index
60ba340
..
b035f4e
100644
(file)
--- a/
src/mkws-widget-termlists.js
+++ b/
src/mkws-widget-termlists.js
@@
-1,3
+1,9
@@
+mkws.facetConfig = {
+ xtargets: [ "Sources", 16, false ],
+ subject: [ "Subjects", 10, true ],
+ author: [ "Authors", 10, true ]
+}
+
mkws.registerWidgetType('Termlists', function() {
var that = this;
var facets = that.config.facets;