Ghost/core/client
Kevin Ansfield 571b9e783a Always call _super when using Ember hooks
no issue
- review use of Ember core hooks and add a call to `this._super` if missing
- fix a few occurrences of using the wrong component lifecycle hooks that could result in multiple/duplicate event handlers being attached

`_super` should always be called when overriding Ember's base hooks so that core functionality or app functionality added through extensions, mixins or addons is not lost. This is important as it guards against issues arising from later refactorings or core changes.

As example of lost functionality, there were a number of routes that extended from `AuthenticatedRoute` but then overrode the `beforeModel` hook without calling `_super` which meant that the route was no longer treated as authenticated.
2015-11-30 12:45:37 +00:00
..
app Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
config Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
lib Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
public/assets
tests Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
.ember-cli
.gitignore
.jscsrc Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
.jshintrc Set up ember-cli-mirage and update existing acceptance tests 2015-11-03 15:35:58 +00:00
.watchmanconfig
bower.json Specify full SHAs when importing packages in bower.json 2015-11-24 16:39:14 +00:00
ember-cli-build.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
package.json Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
testem.json