Skip to content

Commit

Permalink
fix(): remove unnecessary decorator (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed authored Jun 30, 2016
1 parent f69d175 commit 25fab64
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/plugins/3dtouch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ export class ThreeDeeTouch {
* When a home icon is pressed, your app launches and this JS callback is invoked.
* @returns {Observable<any>} returns an observable that notifies you when he user presses on the home screen icon
*/
@Cordova({
observable: true
})
static onHomeIconPressed(): Observable<any> {
return new Observable(observer => {
if (window.ThreeDeeTouch && window.ThreeDeeTouch.onHomeIconPressed) window.ThreeDeeTouch.onHomeIconPressed = observer.next.bind(observer);
Expand Down Expand Up @@ -123,4 +120,4 @@ export interface ThreeDeeTouchForceTouch {
timestamp: number;
x: number;
y: number;
}
}

0 comments on commit 25fab64

Please sign in to comment.