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:
@@ -66,18 +66,18 @@ export class TwitterConnect extends IonicNativePlugin {
|
||||
* @returns {Promise<TwitterConnectResponse>} returns a promise that resolves if logged in and rejects if failed to login
|
||||
*/
|
||||
@Cordova()
|
||||
login(): Promise<TwitterConnectResponse> {return; }
|
||||
login(): Promise<TwitterConnectResponse> { return; }
|
||||
/**
|
||||
* Logs out
|
||||
* @returns {Promise<any>} returns a promise that resolves if logged out and rejects if failed to logout
|
||||
*/
|
||||
@Cordova()
|
||||
logout(): Promise<any> {return; }
|
||||
logout(): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Returns user's profile information
|
||||
* @returns {Promise<any>} returns a promise that resolves if user profile is successfully retrieved and rejects if request fails
|
||||
*/
|
||||
@Cordova()
|
||||
showUser(): Promise<any> {return; }
|
||||
showUser(): Promise<any> { return; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user