fix(): remove unnecessary decorator (#257)

This commit is contained in:
Ibrahim Hadeed 2016-06-30 17:28:23 -04:00 committed by GitHub
parent f69d1755c6
commit 25fab64e3f

View File

@ -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);