From 63274c08fea3957c3453674572cbbea9f04e94d3 Mon Sep 17 00:00:00 2001 From: Mark David Avery Date: Wed, 30 Nov 2016 10:48:27 -0800 Subject: [PATCH] fix(ember-2.11): now not pushing to the frozen classnames property, but reasigning it --- addon/initializers/component-styles.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addon/initializers/component-styles.js b/addon/initializers/component-styles.js index 116ff32..7cf34ce 100644 --- a/addon/initializers/component-styles.js +++ b/addon/initializers/component-styles.js @@ -33,13 +33,13 @@ Component.reopen({ }), init() { - this._super(...arguments); - let name = this.get('componentCssClassName'); if (this.get('tagName') !== '' && name) { - this.classNames.push(name); + this.classNames = [name]; } + + this._super(...arguments); } });