Ghost/core/client/app/components
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
..
gh-activating-list-item.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-alert.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-alerts.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-app.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-blog-url.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-cm-editor.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-content-cover.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-content-preview-content.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-content-view-container.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-dropdown-button.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-dropdown.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-ed-editor.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-ed-preview.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-editor-save-button.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-editor.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-error-message.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-file-upload.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-form-group.js Fix nav regressions in admin client 2015-09-23 17:05:41 +01:00
gh-infinite-scroll-box.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-infinite-scroll.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-input.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-main.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-menu-toggle.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-modal-dialog.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-nav-menu.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-navigation.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-navitem-url-input.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-navitem.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-notification.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-notifications.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-popover-button.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-popover.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-posts-list-item.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-profile-image.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-search-input.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-select-native.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-selectize.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-skip-link.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-spin-button.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-tab-pane.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-tab.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-tabs-manager.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-tag-settings-form.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-tags-management-container.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-textarea.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-trim-focus-input.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-upload-modal.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-uploader.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
gh-url-preview.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-user-active.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-user-invited.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-validation-status-container.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
gh-view-title.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00