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
@@ -22,7 +22,7 @@ export interface StreamingAudioOptions {
* This plugin allows you to stream audio and video in a fullscreen, native player on iOS and Android.
*
* @usage
* ```
* ```typescript
* import { StreamingMedia, StreamingVideoOptions } from '@ionic-native/streaming-media';
*
* constructor(private streamingMedia: StreamingMedia) { }
@@ -54,7 +54,7 @@ export class StreamingMedia extends IonicNativePlugin {
* @param videoUrl {string} The URL of the video
* @param options {StreamingVideoOptions} Options
*/
@Cordova({sync: true})
@Cordova({ sync: true })
playVideo(videoUrl: string, options?: StreamingVideoOptions): void { }
/**
@@ -62,25 +62,25 @@ export class StreamingMedia extends IonicNativePlugin {
* @param audioUrl {string} The URL of the audio stream
* @param options {StreamingAudioOptions} Options
*/
@Cordova({sync: true})
@Cordova({ sync: true })
playAudio(audioUrl: string, options?: StreamingAudioOptions): void { }
/**
* Stops streaming audio
*/
@Cordova({sync: true})
@Cordova({ sync: true })
stopAudio(): void { }
/**
* Pauses streaming audio
*/
@Cordova({sync: true, platforms: ['iOS']})
@Cordova({ sync: true, platforms: ['iOS'] })
pauseAudio(): void { }
/**
* Resumes streaming audio
*/
@Cordova({sync: true, platforms: ['iOS']})
@Cordova({ sync: true, platforms: ['iOS'] })
resumeAudio(): void { }
}