refactor(lib): run prettier

This commit is contained in:
Daniel Sogl
2020-05-16 14:40:49 +02:00
parent f5133c691d
commit 511a02d50b
326 changed files with 3079 additions and 4092 deletions
+13 -13
View File
@@ -138,7 +138,7 @@ export interface AdExtras {
plugin: 'cordova-plugin-admobpro',
pluginRef: 'AdMob',
repo: 'https://github.com/floatinghotpot/cordova-admob-pro',
platforms: ['Android', 'iOS', 'Windows Phone 8']
platforms: ['Android', 'iOS', 'Windows Phone 8'],
})
@Injectable()
export class AdMobPro extends IonicNativePlugin {
@@ -165,7 +165,7 @@ export class AdMobPro extends IonicNativePlugin {
BOTTOM_LEFT: 7,
BOTTOM_CENTER: 8,
BOTTOM_RIGHT: 9,
POS_XY: 10
POS_XY: 10,
};
/**
@@ -182,7 +182,7 @@ export class AdMobPro extends IonicNativePlugin {
* Destroy the banner, remove it from screen.
*/
@Cordova({
sync: true
sync: true,
})
removeBanner(): void {}
@@ -191,7 +191,7 @@ export class AdMobPro extends IonicNativePlugin {
* @param {number} position Position. Use `AdMobPro.AD_POSITION` to set values.
*/
@Cordova({
sync: true
sync: true,
})
showBanner(position: number): void {}
@@ -201,7 +201,7 @@ export class AdMobPro extends IonicNativePlugin {
* @param {number} y Offset from screen top.
*/
@Cordova({
sync: true
sync: true,
})
showBannerAtXY(x: number, y: number): void {}
@@ -209,7 +209,7 @@ export class AdMobPro extends IonicNativePlugin {
* Hide the banner, remove it from screen, but can show it later
*/
@Cordova({
sync: true
sync: true,
})
hideBanner(): void {}
@@ -227,7 +227,7 @@ export class AdMobPro extends IonicNativePlugin {
* Show interstitial ad when it's ready
*/
@Cordova({
sync: true
sync: true,
})
showInterstitial(): void {}
@@ -245,7 +245,7 @@ export class AdMobPro extends IonicNativePlugin {
* Show a reward video ad
*/
@Cordova({
sync: true
sync: true,
})
showRewardVideoAd(): void {}
@@ -275,7 +275,7 @@ export class AdMobPro extends IonicNativePlugin {
@Cordova({
eventObservable: true,
event: 'onAdFailLoad',
element: 'document'
element: 'document',
})
onAdFailLoad(): Observable<any> {
return;
@@ -288,7 +288,7 @@ export class AdMobPro extends IonicNativePlugin {
@Cordova({
eventObservable: true,
event: 'onAdLoaded',
element: 'document'
element: 'document',
})
onAdLoaded(): Observable<any> {
return;
@@ -301,7 +301,7 @@ export class AdMobPro extends IonicNativePlugin {
@Cordova({
eventObservable: true,
event: 'onAdPresent',
element: 'document'
element: 'document',
})
onAdPresent(): Observable<any> {
return;
@@ -314,7 +314,7 @@ export class AdMobPro extends IonicNativePlugin {
@Cordova({
eventObservable: true,
event: 'onAdLeaveApp',
element: 'document'
element: 'document',
})
onAdLeaveApp(): Observable<any> {
return;
@@ -327,7 +327,7 @@ export class AdMobPro extends IonicNativePlugin {
@Cordova({
eventObservable: true,
event: 'onAdDismiss',
element: 'document'
element: 'document',
})
onAdDismiss(): Observable<any> {
return;