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
Add team.widgetTypes function, returns sorted list of contained types.
[mkws-moved-to-github.git]
/
src
/
mkws-team.js
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
1ea6a63
..
8872eb3
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-755,7
+755,13
@@
function team($, teamName) {
}
}
- that.widget =function(type) {
+ that.widgetTypes = function() {
+ var keys = [];
+ for (var k in m_widgets) keys.push(k);
+ return keys.sort();
+ }
+
+ that.widget = function(type) {
return m_widgets[type];
}