From 9d11eef8b75d8f9e7d3b5d5b5f10ec7245093b2a Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 23 Feb 2016 15:30:45 +0900 Subject: [PATCH] adhoc fix backbone-associations/backbone-associations-tests.ts --- backbone-associations/backbone-associations-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backbone-associations/backbone-associations-tests.ts b/backbone-associations/backbone-associations-tests.ts index d25ddf17e..5f656b8f2 100644 --- a/backbone-associations/backbone-associations-tests.ts +++ b/backbone-associations/backbone-associations-tests.ts @@ -7,6 +7,7 @@ module Backbone.Associations.Tests { module OneToOne { class EmployeeWithManager extends Backbone.AssociatedModel { constructor(options?) { + super(options); this.relations = [ { type: Backbone.One, //nature of the relationship @@ -14,7 +15,6 @@ module Backbone.Associations.Tests { relatedModel: 'Employee' //AssociatedModel for attribute key } ]; - super(options); } defaults() { @@ -48,6 +48,7 @@ module Backbone.Associations.Tests { class Project extends Backbone.AssociatedModel { constructor(options?) { + super(options); this.relations = [ { type: Backbone.Many, //nature of the relation @@ -56,7 +57,6 @@ module Backbone.Associations.Tests { relatedModel: Location //Optional } ]; - super(options); } defaults() {