projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79d692
)
Override toString method for team objects.
author
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 16:55:20 +0000
(16:55 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 16:55:20 +0000
(16:55 +0000)
src/mkws-team.js
patch
|
blob
|
history
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; }