mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-22 13:28:22 -05:00
fix a bug in view tests
This commit is contained in:
@@ -4,11 +4,12 @@ $(document).ready(function() {
|
||||
var View = Backbone.View.extend({
|
||||
className : "view",
|
||||
render : function(){
|
||||
$(body).append(this.el);
|
||||
$('body').append(this.el);
|
||||
}
|
||||
});
|
||||
|
||||
var view = new View();
|
||||
view.render();
|
||||
|
||||
test("view: setMode", function(){
|
||||
view.setMode("active", "test");
|
||||
|
||||
Reference in New Issue
Block a user