Fix viewModel function that returns a new type
This fixes the viewModel
function that returns a new type like the following:
Component.extend({
tag: "foo-bar",
viewModel: function(attrs) {
return CanMap.extend({
foo: "bar"
});
}
});