Skip to content

Commit d064744

Browse files
authored
Merge pull request #321 from emberjs/mixonic/no-global-ember
Remove reference to global Ember API
2 parents 0e59404 + 84e8353 commit d064744

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vendor/jquery/component.dollar.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { assert, deprecate } from '@ember/debug';
2+
import Component from '@ember/component';
23

34
(function() {
4-
Ember.Component.reopen({
5+
Component.reopen({
56
$(sel) {
67
assert(
78
"You cannot access this.$() on a component with `tagName: ''` specified.",
@@ -13,8 +14,10 @@ import { assert, deprecate } from '@ember/debug';
1314
false,
1415
{
1516
id: 'ember-views.curly-components.jquery-element',
17+
since: '3.4.0',
1618
until: '4.0.0',
1719
url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis',
20+
for: 'ember-source',
1821
}
1922
);
2023

0 commit comments

Comments
 (0)