documentcloud/backbone — Issue #990: view = new View({}); gives error
Author: L0CKnL0aD7
Created: 2012-02-12 14:32:40+00:00
State: open

I'm getting an error when creating a new View. Models & Collections work just fine.

> main.js:
```
var ItemView, itemView;
ItemView = Backbone.View.extend({
initialize: function(){
return _.bindAll(this, 'render');
},
render: function(){
$(this.el).html('

Hello

');
return this
}
});
itemView = new ItemView({});
```

> error:
```
TypeError: 'undefined' is not a function (evaluating 'h(a)')
```

* Underscore **1.3.1**: *https://raw.github.com/documentcloud/underscore/master/underscore-min.js*
* Backbone **0.7.1**: *http://documentcloud.github.com/backbone/backbone-min.js*