From 24910aacee7c401bfa467fc6ad47db9ab815e335 Mon Sep 17 00:00:00 2001 From: Guille Date: Sun, 17 Jul 2016 19:58:05 +0200 Subject: [PATCH] refactor(keyboard): --- src/plugins/keyboard.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/plugins/keyboard.ts b/src/plugins/keyboard.ts index 7c01269cc..bda2758aa 100644 --- a/src/plugins/keyboard.ts +++ b/src/plugins/keyboard.ts @@ -1,5 +1,6 @@ -import {Cordova, Plugin} from './plugin'; -import {Observable} from 'rxjs/Observable'; +import { Cordova, Plugin } from './plugin'; +import { Observable } from 'rxjs/Observable'; + /** * @name Keyboard @@ -34,7 +35,7 @@ export class Keyboard { sync: true, platforms: ['Android', 'BlackBerry 10', 'Windows'] }) - static show(): void {} + static show(): void { } /** * Close the keyboard if open. @@ -43,7 +44,7 @@ export class Keyboard { sync: true, platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] }) - static close(): void {} + static close(): void { } /** * Prevents the native UIScrollView from moving when an input is focused. @@ -53,7 +54,7 @@ export class Keyboard { sync: true, platforms: ['iOS', 'Windows'] }) - static disableScroll(disable: boolean): void {} + static disableScroll(disable: boolean): void { } /** * Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch. @@ -63,7 +64,7 @@ export class Keyboard { event: 'native.keyboardshow', platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] }) - static onKeyboardShow(): Observable {return; } + static onKeyboardShow(): Observable { return; } /** * Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch. @@ -73,6 +74,6 @@ export class Keyboard { event: 'native.keyboardhide', platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] }) - static onKeyboardHide(): Observable {return; } + static onKeyboardHide(): Observable { return; } }