From 4b8f3296f9ab4390e661e8dc6f9ca3ab8ddc05a6 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 7 Oct 2014 11:54:06 +0100 Subject: [PATCH] The team constructor no longer creates its own pz2 object. New comment at the head of the file explains that makePz2() must be called. --- src/mkws-team.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }; -- 1.7.10.4