OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 <html> | 10 <html> |
11 <head> | 11 <head> |
12 <title></title> | 12 <title></title> |
13 | 13 |
14 <script src="../platform/platform.js"></script> | 14 <script src="../webcomponentsjs/webcomponents.js"></script> |
15 | 15 |
16 <link rel="import" href="core-shared-lib.html"> | 16 <link rel="import" href="core-shared-lib.html"> |
17 | 17 |
18 </head> | 18 </head> |
19 <body> | 19 <body> |
20 | 20 |
21 <!-- three instances, but only one actual network transaction --> | 21 <!-- three instances, but only one actual network transaction --> |
22 <core-shared-lib url="https://apis.google.com/js/client.js?onload=%%callback%%
"></core-shared-lib> | 22 <core-shared-lib url="https://apis.google.com/js/client.js?onload=%%callback%%
"></core-shared-lib> |
23 <core-shared-lib url="https://apis.google.com/js/client.js?onload=%%callback%%
"></core-shared-lib> | 23 <core-shared-lib url="https://apis.google.com/js/client.js?onload=%%callback%%
"></core-shared-lib> |
24 <core-shared-lib url="https://apis.google.com/js/client.js?onload=%%callback%%
"></core-shared-lib> | 24 <core-shared-lib url="https://apis.google.com/js/client.js?onload=%%callback%%
"></core-shared-lib> |
25 | 25 |
26 <script> | 26 <script> |
27 addEventListener('core-shared-lib-load', function() { | 27 addEventListener('core-shared-lib-load', function() { |
28 console.log('client.js lib load notify'); | 28 console.log('client.js lib load notify'); |
29 }); | 29 }); |
30 </script> | 30 </script> |
31 | 31 |
32 </body> | 32 </body> |
33 </html> | 33 </html> |
OLD | NEW |