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:
2bee41b
)
Regression-test scaffolding for pp2limit method.
author
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 16:42:14 +0000
(17:42 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 16:42:14 +0000
(17:42 +0100)
src/mkws-filter.js
patch
|
blob
|
history
diff --git
a/src/mkws-filter.js
b/src/mkws-filter.js
index
4943ca1
..
4d600cc
100644
(file)
--- a/
src/mkws-filter.js
+++ b/
src/mkws-filter.js
@@
-72,6
+72,15
@@
function filterSet(team) {
};
that.pp2limit = function(initial) {
+ var OLD = that.OLD_pp2limit(initial);
+ var NEW = that.NEW_pp2limit(initial);
+ if (OLD !== NEW) {
+ alert("pp2limit(): OLD[" + OLD + "] !== NEW[" + NEW + "]");
+ }
+ return OLD;
+ };
+
+ that.OLD_pp2limit = function(initial) {
var res = initial || "";
for (var i in m_list) {
@@
-85,6
+94,9
@@
function filterSet(team) {
return res;
};
+ that.NEW_pp2limit = function(initial) {
+ return that.OLD_pp2limit(initial);
+ }
return that;
}