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
@@ -43,7 +43,7 @@ export class NativeStorage extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
setItem(reference: string, value: any): Promise<any> {return; }
setItem(reference: string, value: any): Promise<any> { return; }
/**
* Gets a stored item
@@ -51,7 +51,7 @@ export class NativeStorage extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getItem(reference: string): Promise<any> {return; }
getItem(reference: string): Promise<any> { return; }
/**
* Removes a single stored item
@@ -59,13 +59,13 @@ export class NativeStorage extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
remove(reference: string): Promise<any> {return; }
remove(reference: string): Promise<any> { return; }
/**
* Removes all stored values.
* @returns {Promise<any>}
*/
@Cordova()
clear(): Promise<any> {return; }
clear(): Promise<any> { return; }
}