From e80aed69e023e9522c4a2ce59feb0bfed301810f Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 26 Mar 2014 16:55:20 +0000 Subject: [PATCH] Override toString method for team objects. --- src/mkws-team.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mkws-team.js b/src/mkws-team.js index ccc7749..e14bd27 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -28,6 +28,7 @@ function team($, teamName) { var m_paz; // will be initialised below var m_template = {}; + that.toString = function() { return '[Team ' + teamName + ']'; } // Accessor methods for individual widgets: readers that.name = function() { return m_teamName; } -- 1.7.10.4