parameter set to the new-style widget type. It now does so for widgets
with no explicit _old2new mapping, by simple lowercasing.
} else if (cname.match(/^mkws/)) {
// Old-style names of the form mkwsFooBar
var tmp = cname.replace(/^mkws/, '');
} else if (cname.match(/^mkws/)) {
// Old-style names of the form mkwsFooBar
var tmp = cname.replace(/^mkws/, '');
- type = _old2new[tmp] || tmp;
+ type = _old2new[tmp] || tmp.toLowerCase();