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
@@ -47,7 +47,7 @@ export class SocialSharing extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
share(message?: string, subject?: string, file?: string|string[], url?: string): Promise<any> { return; }
share(message?: string, subject?: string, file?: string | string[], url?: string): Promise<any> { return; }
/**
* Shares using the share sheet with additional options and returns a result object or an error message (requires plugin version 5.1.0+)
@@ -57,7 +57,7 @@ export class SocialSharing extends IonicNativePlugin {
@Cordova({
platforms: ['iOS', 'Android']
})
shareWithOptions(options: { message?: string, subject?: string, files?: string|string[], url?: string, chooserTitle?: string }): Promise<any> { return; }
shareWithOptions(options: { message?: string, subject?: string, files?: string | string[], url?: string, chooserTitle?: string }): Promise<any> { return; }
/**
* Checks if you can share via a specific app.
@@ -194,7 +194,7 @@ export class SocialSharing extends IonicNativePlugin {
successIndex: 6,
errorIndex: 7
})
shareViaEmail(message: string, subject: string, to: string[], cc?: string[], bcc?: string[], files?: string|string[]): Promise<any> { return; }
shareViaEmail(message: string, subject: string, to: string[], cc?: string[], bcc?: string[], files?: string | string[]): Promise<any> { return; }
/**
* Share via AppName