Team now has has m_widgets hash, mapping type to widget object.
authorMike Taylor <mike@indexdata.com>
Tue, 15 Apr 2014 15:26:20 +0000 (16:26 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 15 Apr 2014 15:26:20 +0000 (16:26 +0100)
commitb2d534358939d5b942863a9d5b4840221b6ad75d
tree150209c681b7d2db2f5220f56620e32078cf8dfc
parentc7d64cb5450f7587ff8e7c10d043eea9a57f4026
Team now has has m_widgets hash, mapping type to widget object.
New method team.registerWidget adds a widget to the register.
New method team.widget returns the widget of a specified type,
or a count if there is more than one such widget.
src/mkws-team.js