projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Override toString method for team objects.
[mkws-moved-to-github.git]
/
src
/
mkws-team.js
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
ccc7749
..
e14bd27
100644
(file)
--- 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; }