Skip to content

Commit

Permalink
chore: preserve old method to avoid breaking change for now
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisam committed Nov 27, 2019
1 parent 4766b97 commit 1df62e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-clipboard/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-clipboard",
"description": "angular 2 clipboard",
"version": "12.2.2",
"version": "12.3.0",
"author": {
"name": "Sam Lin",
"email": "[email protected]"
Expand Down
7 changes: 7 additions & 0 deletions projects/ngx-clipboard/src/lib/ngx-clipboard.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,11 @@ export class ClipboardService {
public pushCopyResponse(response: IClipboardResponse): void {
this.copySubject.next(response);
}

/**
* @deprecated use pushCopyResponse instead.
*/
public pushCopyReponse(response: IClipboardResponse): void {
this.pushCopyResponse(response);
}
}

0 comments on commit 1df62e7

Please sign in to comment.