From: Mike Taylor Date: Tue, 7 Oct 2014 10:54:06 +0000 (+0100) Subject: The team constructor no longer creates its own pz2 object. X-Git-Tag: 1.0.0~297 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=4b8f3296f9ab4390e661e8dc6f9ca3ab8ddc05a6;p=mkws-moved-to-github.git The team constructor no longer creates its own pz2 object. New comment at the head of the file explains that makePz2() must be called. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 185b1c3..1d155c6 100644 --- 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; };