mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
refactor(facebook4):
This commit is contained in:
parent
dcd7ad430f
commit
63a1a34f97
@ -1,4 +1,4 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import { Cordova, Plugin } from './plugin';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Facebook
|
* @name Facebook
|
||||||
@ -85,15 +85,15 @@ import {Plugin, Cordova} from './plugin';
|
|||||||
})
|
})
|
||||||
export class Facebook {
|
export class Facebook {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Browser wrapper
|
* Browser wrapper
|
||||||
* @param appId
|
* @param appId
|
||||||
* @param version
|
* @param version
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static browserInit(appId: number, version?: string): Promise<any> {
|
static browserInit(appId: number, version?: string): Promise<any> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Login to Facebook to authenticate this app.
|
* Login to Facebook to authenticate this app.
|
||||||
@ -213,7 +213,7 @@ export class Facebook {
|
|||||||
name: string,
|
name: string,
|
||||||
params?: Object,
|
params?: Object,
|
||||||
valueToSum?: number
|
valueToSum?: number
|
||||||
): Promise<any> { return; }
|
): Promise<any> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Log a purchase. For more information see the Events section above.
|
* Log a purchase. For more information see the Events section above.
|
||||||
|
Loading…
Reference in New Issue
Block a user