Skip to content

Commit

Permalink
fix: remove injection of browser checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed May 18, 2017
1 parent b1a34a7 commit 93c7f47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions addon/components/x-toggle-switch/component.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Component from 'ember-component';
import computed from 'ember-computed';
import service from 'ember-service/inject';
import layout from './template';

export default Component.extend({
Expand All @@ -9,8 +8,6 @@ export default Component.extend({
classNames: ['x-toggle-container'],
classNameBindings: ['size', 'disabled:x-toggle-container-disabled', 'value:x-toggle-container-checked'],

browserChecker: service(),

themeClass: computed('theme', function() {
return `x-toggle-${this.get('theme') || 'default'}`;
})
Expand Down

0 comments on commit 93c7f47

Please sign in to comment.