Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Update controller.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisweb committed Aug 18, 2015
1 parent 1d9e447 commit 3ae24e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ class Controller {

constructor(options, configuration, router) {

this.options = options || {};
this.router = router || new Backbone.Router();
this.configuration = configuration || {};

this.initialize(options, configuration, router);

_.extend(this, Backbone.Events);

}
Expand All @@ -49,4 +54,4 @@ class Controller {

}

export = Controller;
export = Controller;

0 comments on commit 3ae24e8

Please sign in to comment.