Skip to content

Commit 352f9f2

Browse files
committed
Fix docs
1 parent cbdfed2 commit 352f9f2

7 files changed

+20
-23
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-apis",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "Web components to load Google API libraries",
55
"homepage": "https://elements.polymer-project.org/elements/google-apis?active=google-js-api",
66
"main": "google-apis.html",

google-js-api.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-jsonp-library/iron-jsonp-library.html">
1212

13-
<script>
14-
/**
13+
<!--
1514
Dynamically loads Google JavaScript API `gapi`, firing the `js-api-load` event when ready.
1615
1716
Any number of components can use `<google-js-api>` elements, and the library will only be loaded once.
@@ -24,9 +23,9 @@
2423
api.addEventListener('js-api-load', function(e) {
2524
console.log('API loaded', gapi);
2625
});
27-
< /script>
28-
29-
*/
26+
</script>
27+
-->
28+
<script>
3029
Polymer({
3130

3231
is: 'google-js-api',

google-legacy-loader.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-jsonp-library/iron-jsonp-library.html">
1212

13-
<script>
14-
/**
13+
<!--
1514
Dynamically loads the legacy Google JavaScript API Loader (https://developers.google.com/loader/).
1615
1716
Fires `api-load` event when ready.
18-
*/
17+
-->
18+
<script>
1919
Polymer({
2020

2121
is: 'google-legacy-loader',

google-maps-api.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-jsonp-library/iron-jsonp-library.html">
1212

13-
<script>
14-
/**
13+
<!--
1514
Dynamically loads the Google Maps JavaScript API, firing the `api-load` event when ready.
1615
1716
#### Example
@@ -27,8 +26,8 @@
2726
Any number of components can use `<google-maps-api>` elements, and the library will only be loaded once.
2827
2928
@summary Element wrapper around Google Maps API.
30-
31-
*/
29+
-->
30+
<script>
3231
Polymer({
3332

3433
is: 'google-maps-api',

google-plusone-api.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-jsonp-library/iron-jsonp-library.html">
1212

13-
<script>
14-
/**
13+
<!--
1514
Dynamically loads the Google+ JavaScript API, firing the `api-load` event when ready.
1615
1716
Any number of components can use `<google-plusone-api>` elements, and the library will only be loaded once.
18-
*/
17+
-->
18+
<script>
1919
Polymer({
2020

2121
is: 'google-plusone-api',

google-realtime-api.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-jsonp-library/iron-jsonp-library.html">
1212

13-
<script>
14-
/**
13+
<!--
1514
Dynamically loads the Google Drive Realtime API, firing the `api-load` event when ready.
1615
1716
Any number of components can use `<google-realtime-api>` elements, and the library will only be loaded once.
18-
19-
*/
17+
-->
18+
<script>
2019
Polymer({
2120

2221
is: 'google-realtime-api',

google-youtube-api.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-jsonp-library/iron-jsonp-library.html">
1212

13-
<script>
14-
/**
13+
<!--
1514
Dynamically loads the Google Youtube Iframe API, firing the `api-load` event when ready.
1615
1716
Any number of components can use `<google-youtube-api>` elements, and the library will only be loaded once.
1817
1918
https://developers.google.com/youtube/iframe_api_reference
20-
*/
19+
-->
20+
<script>
2121
Polymer({
2222

2323
is: 'google-youtube-api',

0 commit comments

Comments
 (0)