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:
ef24216
)
The team constructor no longer creates its own pz2 object.
author
Mike Taylor
<mike@indexdata.com>
Tue, 7 Oct 2014 10:54:06 +0000
(11:54 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 7 Oct 2014 10:54:06 +0000
(11:54 +0100)
New comment at the head of the file explains that makePz2() must be called.
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
185b1c3
..
1d155c6
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-8,6
+8,9
@@
// limitCategory(), delimitTarget(), delimitQuery(), showPage(),
// pagerPrev(), pagerNext().
//
+// Before the team can be used for searching and related operations,
+// its pz2 object must be created by calling team.makePz2().
+//
mkws.makeTeam = function($, teamName) {
var that = {};
var m_teamName = teamName;
@@
-465,6
+468,5
@@
mkws.makeTeam = function($, teamName) {
}
- that.makePz2();
return that;
};