Skip to content

Commit

Permalink
Closes #54
Browse files Browse the repository at this point in the history
  • Loading branch information
notmessenger authored Aug 4, 2016
1 parent 3da0aea commit 90cb139
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions addon/components/ef-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ export default Component.extend({
// -------------------------------------------------------------------------
// Events

/**
* didRender event hook
*
* Contextualize the list component
*
* @returns {undefined}
*/
didRender() {
this._super(...arguments);

this.setListContext();
},

// -------------------------------------------------------------------------
// Properties

Expand All @@ -64,32 +51,12 @@ export default Component.extend({
*
* @type {Boolean}
*/
inverse: false,
inverse: false

// -------------------------------------------------------------------------
// Observers

// -------------------------------------------------------------------------
// Methods

/**
* Set context-specific classes on these rendered components:
* - ef-list-group-header
* - ef-list-header
*
* @private
* @returns {undefined}
*/
setListContext: function() {
// ef-list-group-header
this.$('.ef-list-group-header')
.removeClass('ef-list-group-header')
.addClass('ef-nav-list-group-header');

// ef-list-header
this.$('.ef-list-header')
.removeClass('ef-list-header')
.addClass('ef-nav-list-header');
}

});

0 comments on commit 90cb139

Please sign in to comment.