Add filterSet.toJSON method (used only for logging).
[mkws-moved-to-github.git] / src / mkws-filter.js
index e37a0bd..eff521c 100644 (file)
@@ -5,9 +5,9 @@ function filterSet(team) {
 
     var that = {};
 
-    that.list = function() {
-       return m_list;
-    };
+    that.toJSON = function() {
+       return $.toJSON(m_list);
+    }
 
     that.add = function(filter) {
        m_list.push(filter);