Skip to content

Commit fce75ec

Browse files
Merge pull request #200 from ember-learn/deprecate-es-ulist
deprecating es-ulist
2 parents e2eb95c + 494f0d1 commit fce75ec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

addon/components/es-ulist.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@ import Component from '@ember/component';
22
import layout from '../templates/components/es-ulist';
33
import { computed } from '@ember/object';
44

5+
import { deprecate } from '@ember/application/deprecations';
56

67
export default Component.extend({
8+
init() {
9+
this._super(...arguments);
10+
11+
deprecate('es-ulist is deprecated and will be removed in the next version of ember-styleguide. If you think this has been done in error please contact the Learning Team in #dev-ember-learning in the Ember Community Discord.', null, {
12+
id: 'styleguide-es-ulist',
13+
until: '4.0.0'
14+
});
15+
},
716
layout,
817
classNames: ['es-ulist'],
918
classNameBindings: ['hasBorder:bordered'],

0 commit comments

Comments
 (0)