-
Notifications
You must be signed in to change notification settings - Fork 5
/
externs.js
114 lines (97 loc) · 2.52 KB
/
externs.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
var cordova = {};
var device = { platform: '', model: '' };
cordova.exec = function(a, b, c, d, e) {};
cordova.require = function(a) {};
cordova.require.setJsToNativeBridgeMode = function(a) {};
cordova.require.jsToNativeModes = {};
cordova.require.jsToNativeModes.IFRAME_NAV;
cordova.require.jsToNativeModes.XHR_NO_PAYLOAD;
var console = {};
/**
*
* @param {...*} a
*/
console.log = function(a) {};
var localStorage = {};
var JSON = {};
navigator.splashscreen = {};
navigator.splashscreen.hide = function() {};
navigator.app = {};
navigator.app.exitApp = function() {};
navigator.notification = {};
navigator.notification.alert = function(a, b, c) {};
var StatusBar = {};
StatusBar.overlaysWebView = function(a) {};
StatusBar.styleDefault = function() {};
StatusBar.styleLightContent = function() {};
StatusBar.styleBlackTranslucent = function() {};
StatusBar.styleBlackOpaque = function() {};
StatusBar.backgroundColorByName = function(a) {};
StatusBar.backgroundColorByHexString = function(a) {};
StatusBar.hide = function() {};
StatusBar.show = function() {};
StatusBar.isVisible = true;
window.cordova = {};
var facebookConnectPlugin = {
browserInit: function(e) {},
login: function(a, b, c) {},
showDialog: function(a, b, c) {},
api: function(a, b, c, d) {}
};
var FB = {
init: function() {},
getLoginStatus: function() {},
login: function(cb) {},
api: function(p, cb) {},
logout: function() {},
Event: {}
};
/**
* @param {Object=} a
* @param {Object=} opt_b
*/
FB.ui = function(a, opt_b) {};
FB.Event.subscribe = function(a, cb) {};
var CDV = {
FB: {}
};
var cfg = {
ENV: '',
API_PATH: '',
TIO_TEST_USER: '',
TIO_API_PATH: '',
VERSION: '',
GCM_SENDER_ID: ''
};
var async = {
each: function(array, iterator, callback) {}
};
window.plugins = {socialsharing: {}, toast: {}, pushNotification: {register: function(a,b,c){}}};
/**
*
* @param {*} a
* @param {*} b
* @param {*} c
* @param {*} d
* @param {*=} opt_e
* @param {*=} opt_f
*/
window.plugins.socialsharing.share = function(a, b, c, d, opt_e, opt_f) {};
window.plugins.toast.showShortBottom = function(a) {};
/**
*
* @param {...*} var_args
*/
var __ = function(var_args) {};
var ga_storage = {};
/**
* @param {*} a
* @param {*} b
* @param {*=} opt_c
* @param {*=} opt_d
*/
ga_storage._trackEvent = function(a, b, opt_c, opt_d) {};
ga_storage._setAccount = function(a) {};
ga_storage._setDomain = function(a) {};
ga_storage._trackPageview = function(a) {};
ga_storage._setCustomVar = function(a, b, c, d) {};