File tree Expand file tree Collapse file tree 7 files changed +20
-23
lines changed Expand file tree Collapse file tree 7 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " google-apis" ,
3
- "version" : " 1.1.2 " ,
3
+ "version" : " 1.1.3 " ,
4
4
"description" : " Web components to load Google API libraries" ,
5
5
"homepage" : " https://elements.polymer-project.org/elements/google-apis?active=google-js-api" ,
6
6
"main" : " google-apis.html" ,
Original file line number Diff line number Diff line change 10
10
< link rel ="import " href ="../polymer/polymer.html ">
11
11
< link rel ="import " href ="../iron-jsonp-library/iron-jsonp-library.html ">
12
12
13
- < script >
14
- /**
13
+ <!--
15
14
Dynamically loads Google JavaScript API `gapi`, firing the `js-api-load` event when ready.
16
15
17
16
Any number of components can use `<google-js-api>` elements, and the library will only be loaded once.
24
23
api.addEventListener('js-api-load', function(e) {
25
24
console.log('API loaded', gapi);
26
25
});
27
- < /script>
28
-
29
- */
26
+ </script>
27
+ -->
28
+ < script >
30
29
Polymer ( {
31
30
32
31
is : 'google-js-api' ,
Original file line number Diff line number Diff line change 10
10
< link rel ="import " href ="../polymer/polymer.html ">
11
11
< link rel ="import " href ="../iron-jsonp-library/iron-jsonp-library.html ">
12
12
13
- < script >
14
- /**
13
+ <!--
15
14
Dynamically loads the legacy Google JavaScript API Loader (https://developers.google.com/loader/).
16
15
17
16
Fires `api-load` event when ready.
18
- */
17
+ -->
18
+ < script >
19
19
Polymer ( {
20
20
21
21
is : 'google-legacy-loader' ,
Original file line number Diff line number Diff line change 10
10
< link rel ="import " href ="../polymer/polymer.html ">
11
11
< link rel ="import " href ="../iron-jsonp-library/iron-jsonp-library.html ">
12
12
13
- < script >
14
- / * *
13
+ <!--
15
14
Dynamically loads the Google Maps JavaScript API, firing the `api-load` event when ready.
16
15
17
16
#### Example
27
26
Any number of components can use `<google-maps-api>` elements, and the library will only be loaded once.
28
27
29
28
@summary Element wrapper around Google Maps API.
30
-
31
- */
29
+ -->
30
+ < script >
32
31
Polymer ( {
33
32
34
33
is : 'google-maps-api' ,
Original file line number Diff line number Diff line change 10
10
< link rel ="import " href ="../polymer/polymer.html ">
11
11
< link rel ="import " href ="../iron-jsonp-library/iron-jsonp-library.html ">
12
12
13
- < script >
14
- /**
13
+ <!--
15
14
Dynamically loads the Google+ JavaScript API, firing the `api-load` event when ready.
16
15
17
16
Any number of components can use `<google-plusone-api>` elements, and the library will only be loaded once.
18
- */
17
+ -->
18
+ < script >
19
19
Polymer ( {
20
20
21
21
is : 'google-plusone-api' ,
Original file line number Diff line number Diff line change 10
10
< link rel ="import " href ="../polymer/polymer.html ">
11
11
< link rel ="import " href ="../iron-jsonp-library/iron-jsonp-library.html ">
12
12
13
- < script >
14
- /**
13
+ <!--
15
14
Dynamically loads the Google Drive Realtime API, firing the `api-load` event when ready.
16
15
17
16
Any number of components can use `<google-realtime-api>` elements, and the library will only be loaded once.
18
-
19
- */
17
+ -->
18
+ < script >
20
19
Polymer ( {
21
20
22
21
is : 'google-realtime-api' ,
Original file line number Diff line number Diff line change 10
10
< link rel ="import " href ="../polymer/polymer.html ">
11
11
< link rel ="import " href ="../iron-jsonp-library/iron-jsonp-library.html ">
12
12
13
- < script >
14
- /**
13
+ <!--
15
14
Dynamically loads the Google Youtube Iframe API, firing the `api-load` event when ready.
16
15
17
16
Any number of components can use `<google-youtube-api>` elements, and the library will only be loaded once.
18
17
19
18
https://developers.google.com/youtube/iframe_api_reference
20
- */
19
+ -->
20
+ < script >
21
21
Polymer ( {
22
22
23
23
is : 'google-youtube-api' ,
You can’t perform that action at this time.
0 commit comments