mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
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:
@@ -7,7 +7,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||
* A Cordova plugin to unzip files in Android and iOS.
|
||||
*
|
||||
* @usage
|
||||
* ```
|
||||
* ```typescript
|
||||
* import { Zip } from '@ionic-native/zip';
|
||||
*
|
||||
* constructor(private zip: Zip) { }
|
||||
@@ -42,6 +42,6 @@ export class Zip extends IonicNativePlugin {
|
||||
successIndex: 2,
|
||||
errorIndex: 4
|
||||
})
|
||||
unzip(sourceZip: string, destUrl: string, onProgress?: Function): Promise<number> {return; }
|
||||
unzip(sourceZip: string, destUrl: string, onProgress?: Function): Promise<number> { return; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user