Skip to content

Commit

Permalink
Merge pull request #86 from mikrostew/service-fix
Browse files Browse the repository at this point in the history
[bugfix] inject the 'unified-event-handler' service correctly
  • Loading branch information
lstrrs authored Nov 30, 2022
2 parents db13bfe + 4b080b4 commit 2e5df91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/components/line-clamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ const HTML_ENTITIES_TO_CHARS = {
*
* @example
* ```
* {{line-clamp text="Some long text"}}
* <LineClamp @text="Some long text" />
* ```
*
* @class LineClampComponent
*/
export default class LineClampComponent extends Component {
@service unifiedEventHandler;
@service('unified-event-handler') unifiedEventHandler;

/**
* Text to truncate/clamp
Expand Down

0 comments on commit 2e5df91

Please sign in to comment.