clean
[mkws-moved-to-github.git] / src / mkws-team.js
index 70b3558..ee18f1b 100644 (file)
@@ -27,7 +27,7 @@ function team($, teamName) {
     };
     var m_paz; // will be initialised below
     var m_template = {};
-    var m_config = Object.create(mkws.config);
+    var m_config = mkws.objectInheritingFrom(mkws.config);
 
     that.toString = function() { return '[Team ' + teamName + ']'; };
 
@@ -427,13 +427,6 @@ function team($, teamName) {
   </tr>\
 </table>');
 
-       // Can't be local, as the "Facet" widget also needs to consult this.
-       mkws.facetConfig = {
-           xtargets: [ "Sources",  16, false ],
-           subject:  [ "Subjects", 10, true ],
-           author:   [ "Authors",  10, true ]
-       }
-
        var acc = [];
        var facets = m_config.facets;
        acc.push('<div class="title">' + M('Termlists') + '</div>');