team() function is now mkws.makeTeam().
authorMike Taylor <mike@indexdata.com>
Mon, 6 Oct 2014 16:12:41 +0000 (17:12 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 6 Oct 2014 16:12:41 +0000 (17:12 +0100)
We don't want to put anything but "mkws" in the top-level namespace.
Also the new name is more explicit about what's happening.

src/mkws-team.js

index 92536f1..0a556eb 100644 (file)
@@ -8,7 +8,7 @@
 // limitCategory(), delimitTarget(), delimitQuery(), showPage(),
 // pagerPrev(), pagerNext().
 //
-function team($, teamName) {
+mkws.makeTeam = function($, teamName) {
   var that = {};
   var m_teamName = teamName;
   var m_submitted = false;