Skip to content

Commit

Permalink
Merge pull request #140 from maxisam/hotfix/window-token
Browse files Browse the repository at this point in the history
fix: InjectionToken should be Window
  • Loading branch information
maxisam authored Aug 1, 2018
2 parents 4e698a6 + ca99f4a commit 9c4bb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-clipboard/src/lib/ngx-clipboard.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function CLIPBOARD_SERVICE_PROVIDER_FACTORY(
export const CLIPBOARD_SERVICE_PROVIDER = {
deps: [
DOCUMENT as InjectionToken<Document>,
WINDOW as InjectionToken<Document>,
WINDOW as InjectionToken<Window>,
[new Optional(), new SkipSelf(), ClipboardService]
],
provide: ClipboardService,
Expand Down

0 comments on commit 9c4bb5e

Please sign in to comment.