Debian Codegraph @

contrib/externs/google_loader_api.js

raw symbols SCIP
1 /*
2 * Copyright 2010 The Closure Compiler Authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /**
18 * @fileoverview Externs for the Google Loader API.
19 * @see http://code.google.com/apis/ajax/documentation/
20 * @externs
21 */
22
23 /** @param {function()} callback */
24 google.setOnLoadCallback = function(callback) {};
25
26 /**
27 * @param {string} moduleName
28 * @param {string} moduleVersion
29 * @param {Object.<string,*>=} optionalSettings
30 */
31 google.load = function(moduleName, moduleVersion, optionalSettings) {};
32
33 google.loader = {};
34
35 google.loader.ClientLocation = {};
36
37 /** @type {number} */
38 google.loader.ClientLocation.latitude;
39
40 /** @type {number} */
41 google.loader.ClientLocation.longitude;
42
43 google.loader.ClientLocation.address = {};
44
45 /** @type {string} */
46 google.loader.ClientLocation.address.city;
47
48 /** @type {string} */
49 google.loader.ClientLocation.address.country;
50
51 /** @type {string} */
52 google.loader.ClientLocation.address.country_code;
53
54 /** @type {string} */
55 google.loader.ClientLocation.address.region;