| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <!-- | |
| 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 | |
| 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 | |
| 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 | |
| 9 --> | |
| 10 <html> | |
| 11 <head> | |
| 12 <title></title> | |
| 13 | |
| 14 <script src="../webcomponentsjs/webcomponents.js"></script> | |
| 15 | |
| 16 <link rel="import" href="core-shared-lib.html"> | |
| 17 | |
| 18 </head> | |
| 19 <body> | |
| 20 | |
| 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> | |
| 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> | |
| 25 | |
| 26 <script> | |
| 27 addEventListener('core-shared-lib-load', function() { | |
| 28 console.log('client.js lib load notify'); | |
| 29 }); | |
| 30 </script> | |
| 31 | |
| 32 </body> | |
| 33 </html> | |
| OLD | NEW |