From 62286db24946883814cefc6df8c5d2d452027a5a Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Thu, 9 Jun 2016 09:47:45 -0400 Subject: [PATCH] add browserInit(), closes #160 --- src/plugins/facebook.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/plugins/facebook.ts b/src/plugins/facebook.ts index 0260d26af..4ceaf43ad 100644 --- a/src/plugins/facebook.ts +++ b/src/plugins/facebook.ts @@ -85,10 +85,15 @@ import {Plugin, Cordova} from './plugin'; }) export class Facebook { - // @Cordova() - // static browserInit(appId: number){ - // return new Promise((res, rej) => {}); - // } + /** + * Browser wrapper + * @param appId + * @param version + */ + @Cordova() + static browserInit(appId: number, version?: string): Promise { + return; + } /** * Login to Facebook to authenticate this app.