adhoc fix backbone-associations/backbone-associations-tests.ts

This commit is contained in:
vvakame
2016-02-23 15:30:45 +09:00
parent 6ecf96f408
commit 9d11eef8b7
@@ -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() {