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
Add so-far-meaningless wrapper to pp2filter.
[mkws-moved-to-github.git]
/
src
/
mkws-filter.js
diff --git
a/src/mkws-filter.js
b/src/mkws-filter.js
index
eff521c
..
353fce5
100644
(file)
--- a/
src/mkws-filter.js
+++ b/
src/mkws-filter.js
@@
-7,7
+7,7
@@
function filterSet(team) {
that.toJSON = function() {
return $.toJSON(m_list);
that.toJSON = function() {
return $.toJSON(m_list);
- }
+ };
that.add = function(filter) {
m_list.push(filter);
that.add = function(filter) {
m_list.push(filter);
@@
-53,9
+53,18
@@
function filterSet(team) {
}
}
return false;
}
}
return false;
- }
+ };
that.pp2filter = function() {
that.pp2filter = function() {
+ var OLD = that.OLD_pp2filter();
+ var NEW = that.NEW_pp2filter();
+ if (OLD !== NEW) {
+ alert("pp2filter(): OLD[" + OLD + "] !== NEW[" + NEW + "]");
+ }
+ return OLD;
+ };
+
+ that.OLD_pp2filter = function() {
var res = "";
for (var i in m_list) {
var res = "";
for (var i in m_list) {
@@
-72,7
+81,11
@@
function filterSet(team) {
}
return res;
}
return res;
- }
+ };
+
+ that.NEW_pp2filter = function() {
+ return that.OLD_pp2filter();
+ };
that.pp2limit = function(initial) {
var res = initial || "";
that.pp2limit = function(initial) {
var res = initial || "";
@@
-86,7
+99,7
@@
function filterSet(team) {
}
return res;
}
return res;
- }
+ };
return that;
return that;