Skip to content

Commit 54801b7

Browse files
committed
replace Ember.$ with jQuery to suppress deprecation warning
1 parent ee9fb9e commit 54801b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addon/mixins/base.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Ember from 'ember';
22
import Semantic from '../semantic';
3+
import $ from 'jquery';
34

45
const EMBER_ATTRS = ['class', 'classNameBindings', 'classNames', 'tagName'];
56
const HTML_ATTRS = ['id', 'name', 'readonly', 'autofocus', 'tabindex', 'title'];
@@ -116,7 +117,7 @@ Semantic.BaseMixin = Ember.Mixin.create({
116117
return;
117118
}
118119
let moduleName = this.getSemanticModuleName();
119-
return Ember.$.fn[moduleName];
120+
return $.fn[moduleName];
120121
},
121122

122123
willInitSemantic(settings) { // eslint-disable-line no-unused-vars

0 commit comments

Comments
 (0)