From d07167fa105dcd1b5564ce21f9f8870bdbcfbbf2 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Thu, 30 Jun 2016 17:28:09 -0400 Subject: [PATCH] fix(): remove unnecessary decorator --- src/plugins/3dtouch.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/3dtouch.ts b/src/plugins/3dtouch.ts index a622f09792..4bb1201965 100644 --- a/src/plugins/3dtouch.ts +++ b/src/plugins/3dtouch.ts @@ -83,9 +83,6 @@ export class ThreeDeeTouch { * When a home icon is pressed, your app launches and this JS callback is invoked. * @returns {Observable} returns an observable that notifies you when he user presses on the home screen icon */ - @Cordova({ - observable: true - }) static onHomeIconPressed(): Observable { return new Observable(observer => { if (window.ThreeDeeTouch && window.ThreeDeeTouch.onHomeIconPressed) window.ThreeDeeTouch.onHomeIconPressed = observer.next.bind(observer); @@ -123,4 +120,4 @@ export interface ThreeDeeTouchForceTouch { timestamp: number; x: number; y: number; -} \ No newline at end of file +}