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:
dad66d2
)
Add filterSet.toJSON method (used only for logging).
author
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 16:31:46 +0000
(17:31 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 16:31:46 +0000
(17:31 +0100)
Remove the encapsulation-violating filterSet.list method.
src/mkws-filter.js
patch
|
blob
|
history
diff --git
a/src/mkws-filter.js
b/src/mkws-filter.js
index
e37a0bd
..
eff521c
100644
(file)
--- a/
src/mkws-filter.js
+++ b/
src/mkws-filter.js
@@
-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);