Skip to content

Commit f4e05bb

Browse files
author
Jen Weber
authored
Merge pull request ember-learn#323 from ember-learn/locks-patch-9
Update dependency-injection.md
2 parents f698a8c + 1334703 commit f4e05bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guides/v3.5.0/applications/dependency-injection.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,10 @@ export default Component.extend({
247247
if (!this.song) {
248248
return null;
249249
}
250+
250251
let applicationInstance = getOwner(this);
251252
let audioType = this.song.audioType;
253+
252254
return applicationInstance.lookup(`service:audio-${audioType}`);
253255
}),
254256

0 commit comments

Comments
 (0)