Skip to content

Commit

Permalink
fix(all): instantiate class properties from within constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Vheissu committed Mar 3, 2016
1 parent f4db5f9 commit 798e410
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ import {Loader} from 'aurelia-loader';

@inject(Loader)
export class Configure {
environment = 'default';
environments = false;
directory = 'config';
config_file = 'config.json';
cascade_mode = true;

_config_object = {};

constructor(loader) {
// Injected dependencies
this.loader = loader;

this.environment = 'default';
this.environments = false;
this.directory = 'config';
this.config_file = 'config.json';
this.cascade_mode = true;

this._config_object = {};
}

/**
Expand Down

0 comments on commit 798e410

Please sign in to comment.