Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1107)

Side by Side Diff: lib/src/google-apis/google-client-loader.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at https://polymer. github.io/LICENSE.txt 3 This code may only be used under the BSD style license found at https://polymer. github.io/LICENSE.txt
4 The complete set of authors may be found at https://polymer.github.io/AUTHORS.tx t 4 The complete set of authors may be found at https://polymer.github.io/AUTHORS.tx t
5 The complete set of contributors may be found at https://polymer.github.io/CONTR IBUTORS.txt 5 The complete set of contributors may be found at https://polymer.github.io/CONTR IBUTORS.txt
6 Code distributed by Google as part of the polymer project is also 6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at https://polymer.github.io/PATE NTS.txt 7 subject to an additional IP rights grant found at https://polymer.github.io/PATE NTS.txt
8 --> 8 -->
9 9
10 <link rel="import" href="../polymer/polymer.html"> 10 <link rel="import" href="../polymer/polymer.html">
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 * @event google-api-load-error 70 * @event google-api-load-error
71 */ 71 */
72 72
73 properties: { 73 properties: {
74 /** 74 /**
75 * Name of the API to load, e.g. 'urlshortener'. 75 * Name of the API to load, e.g. 'urlshortener'.
76 * 76 *
77 * You can find the full list of APIs on the 77 * You can find the full list of APIs on the
78 * <a href="https://developers.google.com/apis-explorer"> Google APIs 78 * <a href="https://developers.google.com/apis-explorer"> Google APIs
79 * Explorer</a>. 79 * Explorer</a>.
80 * @required
81 */ 80 */
82 name: String, 81 name: String,
83 82
84 /** 83 /**
85 * Version of the API to load, e.g. 'v1'. 84 * Version of the API to load, e.g. 'v1'.
86 * @required
87 */ 85 */
88 version: String, 86 version: String,
89 87
90 /** 88 /**
91 * App Engine application ID for loading a Google Cloud Endpoints API. 89 * App Engine application ID for loading a Google Cloud Endpoints API.
92 */ 90 */
93 appId: String, 91 appId: String,
94 92
95 /** 93 /**
96 * Root URL where to load the API from, e.g. 'http://host/apis'. 94 * Root URL where to load the API from, e.g. 'http://host/apis'.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 _statuses[this.name] = 'loading'; 216 _statuses[this.name] = 'loading';
219 _loaders[this.name] = this; 217 _loaders[this.name] = this;
220 gapi.client.load(this.name, this.version, 218 gapi.client.load(this.name, this.version,
221 this._handleLoadResponse.bind(this), root); 219 this._handleLoadResponse.bind(this), root);
222 } 220 }
223 } 221 }
224 } 222 }
225 }); 223 });
226 })(); 224 })();
227 </script> 225 </script>
OLDNEW
« no previous file with comments | « lib/src/google-analytics/google-analytics-query.html ('k') | lib/src/google-apis/google-maps-api.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698