From 73003b86eededc83430c0873164c9f56f8e2b978 Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 23 Feb 2016 15:23:57 +0900 Subject: [PATCH] adhoc fix backgrid/backgrid-tests.ts --- backgrid/backgrid-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backgrid/backgrid-tests.ts b/backgrid/backgrid-tests.ts index a29a4ae7e..f2a41a558 100644 --- a/backgrid/backgrid-tests.ts +++ b/backgrid/backgrid-tests.ts @@ -26,8 +26,8 @@ class TestModel extends Backbone.Model { class TestCollection extends Backbone.Collection { constructor(models?: any, options?: any) { - this.model = TestModel; super(models, options); + this.model = TestModel; } initialize() { @@ -46,6 +46,7 @@ class TestView extends Backbone.View { testCollection: TestCollection; constructor(viewOptions?: Backbone.ViewOptions) { + super(viewOptions); this.testCollection = new TestCollection(); this.gridView = new Backgrid.Grid({ columns: [new Backgrid.Column({name: "FirstName", cell: "string", label: "First Name"}), @@ -54,7 +55,6 @@ class TestView extends Backbone.View { collection:this.testCollection, }); - super(viewOptions); }