From: Mike Taylor Date: Mon, 27 Jan 2014 15:06:46 +0000 (+0000) Subject: Remove two special-case clauses that cancelled out. X-Git-Tag: 1.0.0~1584 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=b4cfacd8ea9c90b4862c30892a2ebcda5184eb07;p=mkws-moved-to-github.git Remove two special-case clauses that cancelled out. It's nice to take out eight lines of code with no effect :-) --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 7b10f2f..70ff3c3 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -1294,11 +1294,6 @@ function _mkws_jquery_plugin ($) { } } - // Backwards compatibility: the special-case undefined team - // ### Will not be necessary when non-default teams are working - mkws.teams['AUTO'] = _make_mkws_team(j, "AUTO"); - log("Made the unnamed MKWS team"); - // Find all nodes with class (NOT id) mkwsRecords, and // determine their team from the mkwsTeam_* class. So: //
@@ -1318,9 +1313,6 @@ function _mkws_jquery_plugin ($) { if (mkws.teams[tname]) { log("MKWS team '" + tname + "' already exists, skipping"); - } else if (tname === "AUTO") { - // ### For now: later, this will be how the backwards-compatibility is done - log("Skipping MKWS team '" + tname + "'"); } else { mkws.teams[tname] = _make_mkws_team(j, tname); log("Made MKWS team '" + tname + "'");