From b8afd70a42814bd4e9f0279f5ab5544fed2ef177 Mon Sep 17 00:00:00 2001 From: Guille Date: Fri, 8 Jul 2016 00:34:43 +0200 Subject: [PATCH] refactor(backgroundGeoLocation): --- src/plugins/background-geolocation.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/background-geolocation.ts b/src/plugins/background-geolocation.ts index f49515306..18b4261a9 100644 --- a/src/plugins/background-geolocation.ts +++ b/src/plugins/background-geolocation.ts @@ -1,5 +1,6 @@ -import {Plugin, Cordova} from './plugin'; -import {Observable} from 'rxjs/Observable'; +import { Cordova, Plugin } from './plugin'; +import { Observable } from 'rxjs/Observable'; + declare var window; @@ -177,7 +178,7 @@ export interface Config { * debug: true, // enable this hear sounds for background-geolocation life-cycle. * stopOnTerminate: false, // enable this to clear background location settings when the app terminates * }; - * + * * BackgroundGeolocation.configure(config) * .then((location) => { * console.log('[js] BackgroundGeolocation callback: ' + location.latitude + ',' + location.longitude);