<commit_before>// https://github.com/arnesson/cordova-plugin-facebook
'use strict';
angular.module('ngCordova')
.factory('$cordovaFacebook', ['$cordova', function($cordova) {
    return {
        login: $cordova.$q(function(permissions, $q) {
            window.facebookConnectPlugin.login(permissions, $q.resolve, $q.reject);
        }),
        showDialog: $cordova.$q(function(options, $q) {
            window.facebookConnectPlugin.showDialog(options, $q.resolve, $q.reject);
        }),
        api: $cordova.$q(function(path, permissions, $q) {
            window.facebookConnectPlugin.api(path, permissions, $q.resolve, $q.reject);
        }),
        getAccessToken: $cordova.$q(function($q) {
            window.facebookConnectPlugin.getAccessToken($q.resolve, $q.reject);
        }),
        getLoginStatus: $cordova.$q(function($q) {
            window.facebookConnectPlugin.getLoginStatus($q.resolve, $q.reject);
        }),
        logout: $cordova.$q(function($q) {
            window.facebookConnectPlugin.logout($q.resolve, $q.reject);
        })
    };
}]);<commit_msg>facebook update<commit_after>// https://github.com/arnesson/cordova-plugin-facebook
'use strict';
angular.module('ngCordova')
.factory('$cordovaFacebook', ['$cordova', function($cordova) {
    return {
        login: $cordova.$q(function(permissions, $q) {
            window.facebookConnectPlugin.login(permissions, $q.resolve, $q.reject);
        }),
        showDialog: $cordova.$q(function(options, $q) {
            window.facebookConnectPlugin.showDialog(options, $q.resolve, $q.reject);
        }),
        api: $cordova.$q(function(path, permissions, $q) {
            window.facebookConnectPlugin.api(path, permissions, $q.resolve, $q.reject);
        }),
        getAccessToken: $cordova.$q(function($q) {
            window.facebookConnectPlugin.getAccessToken($q.resolve, $q.reject);
        }),
        getLoginStatus: $cordova.$q(function($q) {
            window.facebookConnectPlugin.getLoginStatus($q.resolve, $q.reject);
        }),
        logout: $cordova.$q(function($q) {
            window.facebookConnectPlugin.logout($q.resolve, $q.reject);
        }),
        logEvent: $cordova.$q(function($q) {
            window.facebookConnectPlugin.logEvent($q.resolve, $q.reject);
        }),
        logPurchase: $cordova.$q(function($q) {
            window.facebookConnectPlugin.logPurchase($q.resolve, $q.reject);
        }),
        appInvite: $cordova.$q(function($q) {
            window.facebookConnectPlugin.appInvite($q.resolve, $q.reject);
        }),
        getDeferredApplink: $cordova.$q(function($q) {
            window.facebookConnectPlugin.getDeferredApplink($q.resolve, $q.reject);
        }),
        activateApp: $cordova.$q(function($q) {
            window.facebookConnectPlugin.activateApp($q.resolve, $q.reject);
        })
    };
}]);
{'fraction_non_alphanumeric': 0.16556060076842474, 'fraction_numerical': 0.0, 'mean_word_length': 2.85464333781965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4604629', 'n_tokens_mistral': 865, 'n_tokens_neox': 862, 'n_words': 103}