Skip to content

Commit 9d71c53

Browse files
authored
Merge pull request #21 from void-mAlex/remove-globals-dependent-code
remove code that was using an non-existent export
2 parents fafa5e8 + 61b1a04 commit 9d71c53

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

addon/mixins/_target_action_support.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
@module ember
55
*/
66

7-
import { context } from '../components/_internals';
87
import { get, computed } from '@ember/object';
98
import Mixin from '@ember/object/mixin';
109
import { assert } from '@ember/debug';
@@ -29,11 +28,7 @@ export default Mixin.create({
2928
let actionContext = get(this, 'actionContext');
3029

3130
if (typeof actionContext === 'string') {
32-
let value = get(this, actionContext);
33-
if (value === undefined) {
34-
value = get(context.lookup, actionContext);
35-
}
36-
return value;
31+
return get(this, actionContext);
3732
} else {
3833
return actionContext;
3934
}

0 commit comments

Comments
 (0)