style(): unify docs and spacing (#1448)

* typo(barcode-scanner): fixe circle lint error

* typo(docs):  Unified the documentations

In some plugins the typescript markup was missing.
I also unified the console.log string from console.log("hello") to console.log('Hello') so any plugin page look the same.
This commit is contained in:
Daniel Sogl
2017-04-30 20:36:22 +02:00
committed by Ibby Hadeed
parent a7c9abc449
commit c6f9fa356f
90 changed files with 497 additions and 506 deletions
@@ -87,13 +87,13 @@ export class ThemeableBrowserObject {
* Displays an browser window that was opened hidden. Calling this has no effect
* if the browser was already visible.
*/
@CordovaInstance({sync: true})
@CordovaInstance({ sync: true })
show(): void { }
/**
* Closes the browser window.
*/
@CordovaInstance({sync: true})
@CordovaInstance({ sync: true })
close(): void { }
/**
@@ -108,7 +108,7 @@ export class ThemeableBrowserObject {
* @returns {Promise<any>}
*/
@CordovaInstance()
executeScript(script: {file?: string, code?: string}): Promise<any> {return; }
executeScript(script: { file?: string, code?: string }): Promise<any> { return; }
/**
* Injects CSS into the browser window.
@@ -116,7 +116,7 @@ export class ThemeableBrowserObject {
* @returns {Promise<any>}
*/
@CordovaInstance()
insertCss(css: {file?: string, code?: string}): Promise<any> {return; }
insertCss(css: { file?: string, code?: string }): Promise<any> { return; }
/**
* A method that allows you to listen to events happening in the browser.
@@ -140,7 +140,7 @@ export class ThemeableBrowserObject {
* In-app browser that allows styling.
*
* @usage
* ```
* ```typescript
* import { ThemeableBrowser, ThemeableBrowserOptions, ThemeableBrowserObject } from '@ionic-native/themeable-browser';
*
* constructor(private themeableBrowser: ThemeableBrowser) { }