From 92a4608a5bb3a05a31ec68f537979687ed930dd8 Mon Sep 17 00:00:00 2001 From: Guille Date: Fri, 8 Jul 2016 00:35:11 +0200 Subject: [PATCH] refactor(backgroundMode): --- src/plugins/backgroundmode.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/plugins/backgroundmode.ts b/src/plugins/backgroundmode.ts index 59afd65a..47d2caca 100644 --- a/src/plugins/backgroundmode.ts +++ b/src/plugins/backgroundmode.ts @@ -1,4 +1,4 @@ -import {Plugin, Cordova} from './plugin'; +import { Cordova, Plugin } from './plugin'; /** * @name Background Mode @@ -39,28 +39,28 @@ export class BackgroundMode { @Cordova({ sync: true }) - static enable(): void {} + static enable(): void { } - /** - * Disable the background mode. - * Once the background mode has been disabled, the app will be paused when in background. - */ + /** + * Disable the background mode. + * Once the background mode has been disabled, the app will be paused when in background. + */ @Cordova() - static disable(): void {} + static disable(): void { } /** * Checks if background mode is enabled or not. * @returns {boolean} returns a true of false if the background mode is enabled. */ @Cordova() - static isEnabled(): Promise {return; } + static isEnabled(): Promise { return; } /** * Can be used to get the information if the background mode is active. * @returns {boolean} returns tru or flase if the background mode is active. */ @Cordova() - static isActive(): Promise {return; } + static isActive(): Promise { return; } /** * Override the default title, ticker and text. @@ -70,7 +70,7 @@ export class BackgroundMode { @Cordova({ platforms: ['Android'] }) - static setDefaults(options?: Configure): void {} + static setDefaults(options?: Configure): void { } /** * Modify the displayed information. @@ -80,7 +80,7 @@ export class BackgroundMode { @Cordova({ platforms: ['Android'] }) - static update(options?: Configure): void {} + static update(options?: Configure): void { } /** * Sets a callback for a specific event @@ -90,7 +90,7 @@ export class BackgroundMode { @Cordova({ sync: true }) - static on(eventName: string, callback: any): void {} + static on(eventName: string, callback: any): void { } } /**